Home
last modified time | relevance | path

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

1234

/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++;
/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/curl/lib/
Dsetup-vms.h40 # define getpwuid decc_getpwuid macro
51 #undef getpwuid
53 #define getpwuid vms_getpwuid macro
72 # define decc_getpwuid decc$getpwuid
/third_party/glib/glib/tests/
Dmeson.build164 shared_library('getpwuid-preload',
165 'getpwuid-preload.c',
173 'LD_PRELOAD': '@0@/getpwuid-preload.so'.format(meson.current_build_dir()),
176 'LD_PRELOAD': '@0@/getpwuid-preload.so'.format(installed_tests_execdir),
Dgetpwuid-preload.c33 getpwuid (uid_t uid) in getpwuid() function
/third_party/python/Lib/
Dnetrc.py96 fowner = pwd.getpwuid(prop.st_uid)[0]
100 user = pwd.getpwuid(os.getuid())[0]
/third_party/e2fsprogs/include/mingw/
Dpwd.h19 #define getpwuid(i) NULL macro
/third_party/e2fsprogs/include/nonunix/
Dpwd.h21 #define getpwuid(i) NULL macro
/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/uniproton/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/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/curl/src/
Dtool_homedir.c106 struct passwd *pw = getpwuid(geteuid()); in homedir()

1234