Home
last modified time | relevance | path

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

12345

/external/python/cpython3/Lib/test/
Dtest_pwd.py12 return [pwd.getpwuid(0)]
62 self.assertIn(pwd.getpwuid(e.pw_uid), entriesbyuid[e.pw_uid])
65 self.assertRaises(TypeError, pwd.getpwuid)
66 self.assertRaises(TypeError, pwd.getpwuid, 3.14)
114 self.assertRaises(KeyError, pwd.getpwuid, fakeuid)
119 self.assertRaises(KeyError, pwd.getpwuid, -1)
121 self.assertRaises(KeyError, pwd.getpwuid, 2**128)
122 self.assertRaises(KeyError, pwd.getpwuid, -2**128)
/external/python/cpython2/Lib/test/
Dtest_pwd.py53 self.assertIn(pwd.getpwuid(e.pw_uid), entriesbyuid[e.pw_uid])
56 self.assertRaises(TypeError, pwd.getpwuid)
57 self.assertRaises(TypeError, pwd.getpwuid, 3.14)
101 self.assertRaises(KeyError, pwd.getpwuid, fakeuid)
105 self.assertRaises(KeyError, pwd.getpwuid, -1)
107 self.assertRaises(KeyError, pwd.getpwuid, 2**128)
108 self.assertRaises(KeyError, pwd.getpwuid, -2**128)
/external/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()
/external/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
/external/python/cpython2/Modules/
Dpwdmodule.c114 if ((p = getpwuid(uid)) == NULL) { in pwd_getpwuid()
162 if ((p = getpwuid(0)) != NULL) {
/external/python/cpython2/Lib/
Dnetrc.py98 fowner = pwd.getpwuid(prop.st_uid)[0]
102 user = pwd.getpwuid(os.getuid())[0]
/external/python/cpython3/Lib/
Dnetrc.py95 fowner = pwd.getpwuid(prop.st_uid)[0]
99 user = pwd.getpwuid(os.getuid())[0]
/external/e2fsprogs/include/mingw/
Dpwd.h19 #define getpwuid(i) NULL macro
/external/e2fsprogs/include/nonunix/
Dpwd.h21 #define getpwuid(i) NULL macro
/external/ltp/testcases/kernel/syscalls/setfsuid/
Dsetfsuid02.c52 while (getpwuid(uid)) in main()
Dsetfsuid03.c55 while (!getpwuid(uid)) in main()
/external/autotest/cli/
Dchange_protection_level.py18 user = pwd.getpwuid(os.getuid())[0]
/external/ltp/testcases/kernel/syscalls/getgid/
Dgetgid03.c59 pwent = getpwuid(uid); in main()
/external/ltp/testcases/kernel/syscalls/getegid/
Dgetegid02.c59 pwent = getpwuid(euid); in main()
/external/ltp/testcases/kernel/syscalls/getuid/
Dgetuid03.c59 pwent = getpwuid(uid); in main()
/external/ltp/testcases/kernel/syscalls/geteuid/
Dgeteuid02.c51 pwent = getpwuid(uid); in main()
/external/ltp/testcases/kernel/syscalls/add_key/
Dadd_key03.c75 while (getpwuid(uid)) in do_test()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/
D9-1.c49 if (!getpwuid(uid) && !setuid(uid)) in reset_uid()
/external/curl/src/
Dtool_homedir.c77 struct passwd *pw = getpwuid(geteuid()); in homedir()
/external/selinux/libselinux/utils/
Dtogglesebool.c81 struct passwd *pwd = getpwuid(getuid()); in main()
/external/iptables/extensions/
Dlibxt_owner.c302 struct passwd *pwd = getpwuid(info->uid); in owner_mt_print_item_v0()
351 struct passwd *pwd = getpwuid(info->uid); in owner_mt6_print_item_v0()
400 const struct passwd *pwd = getpwuid(info->uid_min); in owner_mt_print_item()
/external/python/cpython2/Lib/distutils/tests/
Dtest_archive_util.py236 owner = pwd.getpwuid(0)[0]
264 owner = pwd.getpwuid(0)[0]
/external/autotest/client/site_tests/security_ProfilePermissions/
Dsecurity_ProfilePermissions.py37 actual_owner = pwd.getpwuid(s.st_uid).pw_name

12345