Home
last modified time | relevance | path

Searched refs:getpwuid (Results 1 – 25 of 63) sorted by relevance

123

/third_party/python/Lib/test/
Dtest_pwd.py54 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/
Dipcs.c211 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 …]
Duseradd.c73 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++;
Dsulogin.c100 if (!(pwd = getpwuid(0))) error_exit("invalid user"); in sulogin_main()
/third_party/musl/libc-test/src/functionalext/supplement/passwd/
Dgetpwent.c67 struct passwd *ret = getpwuid(getuid()); in getpwuid_0100()
81 struct passwd *ret = getpwuid(TEST_ERROR_UID); in getpwuid_0200()
/third_party/python/Lib/
Dnetrc.py96 fowner = pwd.getpwuid(prop.st_uid)[0]
100 user = pwd.getpwuid(os.getuid())[0]
Dgetpass.py169 return pwd.getpwuid(os.getuid())[0]
/third_party/ltp/testcases/kernel/syscalls/getgid/
Dgetgid03.c30 pwent = getpwuid(uid); in run()
/third_party/musl/ndk_musl_include/
Dpwd.h36 struct passwd *getpwuid (uid_t);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dpwd.h36 struct passwd *getpwuid (uid_t);
/third_party/musl/porting/liteos_m/kernel/include/
Dpwd.h36 struct passwd *getpwuid (uid_t);
/third_party/musl/porting/uniproton/kernel/include/
Dpwd.h36 struct passwd *getpwuid (uid_t);
/third_party/musl/include/
Dpwd.h36 struct passwd *getpwuid (uid_t);
/third_party/musl/src/passwd/
Dgetpwent.c25 struct passwd *getpwuid(uid_t uid) in getpwuid() function
/third_party/musl/libc-test/src/api/
Dpwd.c19 {struct passwd*(*p)(uid_t) = getpwuid;} in f()
/third_party/ltp/testcases/kernel/syscalls/setfsuid/
Dsetfsuid02.c52 while (getpwuid(uid)) in main()
Dsetfsuid03.c55 while (!getpwuid(uid)) in main()
/third_party/ltp/testcases/kernel/syscalls/geteuid/
Dgeteuid02.c51 pwent = getpwuid(uid); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/
D9-1.c48 if (!getpwuid(uid) && !setuid(uid)) in reset_uid()
/third_party/ltp/testcases/kernel/syscalls/getegid/
Dgetegid02.c59 pwent = getpwuid(euid); in main()
/third_party/ltp/testcases/kernel/syscalls/add_key/
Dadd_key03.c63 while (getpwuid(uid)) in do_test()
/third_party/selinux/libselinux/utils/
Dtogglesebool.c81 struct passwd *pwd = getpwuid(getuid()); in main()
/third_party/python/Tools/c-analyzer/c_common/
Dfsutil.py395 username = pwd.getpwuid(uid)[0]
401 entry = pwd.getpwuid(uid)
/third_party/python/Lib/distutils/tests/
Dtest_archive_util.py343 owner = pwd.getpwuid(0)[0]
373 owner = pwd.getpwuid(0)[0]
/third_party/libwebsockets/lib/plat/unix/
Dunix-caps.c205 p = getpwuid(context->uid);

123