Searched refs:getpwuid (Results 1 – 25 of 63) sorted by relevance
123
/third_party/python/Lib/test/ |
D | test_pwd.py | 54 self.assertIn(pwd.getpwuid(e.pw_uid), entriesbyuid[e.pw_uid]) 57 self.assertRaises(TypeError, pwd.getpwuid) 58 self.assertRaises(TypeError, pwd.getpwuid, 3.14) 102 self.assertRaises(KeyError, pwd.getpwuid, fakeuid) 106 self.assertRaises(KeyError, pwd.getpwuid, -1) 108 self.assertRaises(KeyError, pwd.getpwuid, 2**128) 109 self.assertRaises(KeyError, pwd.getpwuid, -2**128)
|
/third_party/toybox/toys/pending/ |
D | ipcs.c | 211 if ((pw = getpwuid(buf.shm_perm.uid))) in shm_array() 221 if ((pw = getpwuid(buf.shm_perm.uid))) in shm_array() 227 if ((pw = getpwuid(buf.shm_perm.cuid))) printf(" %-10s", pw->pw_name); in shm_array() 231 if ((pw = getpwuid(buf.shm_perm.uid))) printf(" %-10s", pw->pw_name); in shm_array() 237 if ((pw = getpwuid(buf.shm_perm.uid))) in shm_array() 308 pw = getpwuid(buf.sem_perm.uid); in sem_array() 319 if ((pw = getpwuid(buf.sem_perm.cuid))) printf(" %-10s", pw->pw_name); in sem_array() 323 if ((pw = getpwuid(buf.sem_perm.uid))) printf(" %-10s", pw->pw_name); in sem_array() 388 pw = getpwuid(buf.msg_perm.uid); in msg_array() 404 if ((pw = getpwuid(buf.msg_perm.cuid))) printf(" %-10s", pw->pw_name); in msg_array() [all …]
|
D | useradd.c | 73 struct passwd *pw = getpwuid(getuid()); 83 if (getpwuid(TT.uid)) error_exit("uid '%ld' in use", TT.uid); 88 while (getpwuid(TT.uid)) TT.uid++;
|
D | sulogin.c | 100 if (!(pwd = getpwuid(0))) error_exit("invalid user"); in sulogin_main()
|
/third_party/musl/libc-test/src/functionalext/supplement/passwd/ |
D | getpwent.c | 67 struct passwd *ret = getpwuid(getuid()); in getpwuid_0100() 81 struct passwd *ret = getpwuid(TEST_ERROR_UID); in getpwuid_0200()
|
/third_party/python/Lib/ |
D | netrc.py | 96 fowner = pwd.getpwuid(prop.st_uid)[0] 100 user = pwd.getpwuid(os.getuid())[0]
|
D | getpass.py | 169 return pwd.getpwuid(os.getuid())[0]
|
/third_party/ltp/testcases/kernel/syscalls/getgid/ |
D | getgid03.c | 30 pwent = getpwuid(uid); in run()
|
/third_party/musl/ndk_musl_include/ |
D | pwd.h | 36 struct passwd *getpwuid (uid_t);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | pwd.h | 36 struct passwd *getpwuid (uid_t);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | pwd.h | 36 struct passwd *getpwuid (uid_t);
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | pwd.h | 36 struct passwd *getpwuid (uid_t);
|
/third_party/musl/include/ |
D | pwd.h | 36 struct passwd *getpwuid (uid_t);
|
/third_party/musl/src/passwd/ |
D | getpwent.c | 25 struct passwd *getpwuid(uid_t uid) in getpwuid() function
|
/third_party/musl/libc-test/src/api/ |
D | pwd.c | 19 {struct passwd*(*p)(uid_t) = getpwuid;} in f()
|
/third_party/ltp/testcases/kernel/syscalls/setfsuid/ |
D | setfsuid02.c | 52 while (getpwuid(uid)) in main()
|
D | setfsuid03.c | 55 while (!getpwuid(uid)) in main()
|
/third_party/ltp/testcases/kernel/syscalls/geteuid/ |
D | geteuid02.c | 51 pwent = getpwuid(uid); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/ |
D | 9-1.c | 48 if (!getpwuid(uid) && !setuid(uid)) in reset_uid()
|
/third_party/ltp/testcases/kernel/syscalls/getegid/ |
D | getegid02.c | 59 pwent = getpwuid(euid); in main()
|
/third_party/ltp/testcases/kernel/syscalls/add_key/ |
D | add_key03.c | 63 while (getpwuid(uid)) in do_test()
|
/third_party/selinux/libselinux/utils/ |
D | togglesebool.c | 81 struct passwd *pwd = getpwuid(getuid()); in main()
|
/third_party/python/Tools/c-analyzer/c_common/ |
D | fsutil.py | 395 username = pwd.getpwuid(uid)[0] 401 entry = pwd.getpwuid(uid)
|
/third_party/python/Lib/distutils/tests/ |
D | test_archive_util.py | 343 owner = pwd.getpwuid(0)[0] 373 owner = pwd.getpwuid(0)[0]
|
/third_party/libwebsockets/lib/plat/unix/ |
D | unix-caps.c | 205 p = getpwuid(context->uid);
|
123