Searched refs:getuid (Results 1 – 19 of 19) sorted by relevance
103 if os.getuid() != 0:104 name = pwd.getpwuid(posix.getuid()).pw_name216 if os.getuid() == 0:233 chown_func(first_param, os.getuid(), os.getgid())392 if posix.getuid() != 0:404 name = pwd.getpwuid(posix.getuid()).pw_name413 name = pwd.getpwuid(posix.getuid()).pw_name
640 if os.getuid() != 0:646 if os.getuid() != 0:652 if os.getuid() != 0:658 if os.getuid() != 0:664 if os.getuid() != 0:678 if os.getuid() != 0:
44 getuid (void) in getuid() function
158 return pwd.getpwuid(os.getuid())[0]
144 uid = repr(os.getuid())
260 userhome = pwd.getpwuid(os.getuid()).pw_dir
223 if os.geteuid() != os.getuid():
400 user = pwd.getpwuid(os.getuid())[0]
2277 u = os.getuid()
122 uid_t getuid(void);
397 uid_t getuid (void) in getuid() function
247 uid_t getuid (void);
218 if os.geteuid() != os.getuid():
354 CHECK_EQ(getuid(), 0u) << "must run as root!"; in assert_correct_user()
257 os.environ['HOME'] = pwd.getpwuid(os.getuid())[5]
220 if os.geteuid() != os.getuid():
346 self.assertEqual(member.uid, os.getuid())
2553 return PyInt_FromLong((long)getuid()); in posix_getuid()
4095 return PyInt_FromLong((long)getuid()); in posix_getuid()