Home
last modified time | relevance | path

Searched refs:getpwuid (Results 1 - 25 of 58) sorted by relevance

123

/third_party/python/Lib/test/
H A Dtest_pwd.py32 # self.assertEqual(pwd.getpwuid(e.pw_uid), e)
48 # check whether the entry returned by getpwuid()
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)
99 # loop, say), pwd.getpwuid() might still be able to find data for that
104 self.assertRaises(KeyError, pwd.getpwuid, fakeuid)
108 self.assertRaises(KeyError, pwd.getpwuid, -1)
110 self.assertRaises(KeyError, pwd.getpwuid, 2**128)
111 self.assertRaises(KeyError, pwd.getpwuid,
[all...]
/third_party/toybox/toys/pending/
H A 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(bu in msg_array()
[all...]
H A Duseradd.c73 struct passwd *pw = getpwuid(getuid()); in useradd_main()
83 if (getpwuid(TT.uid)) error_exit("uid '%ld' in use", TT.uid); in useradd_main()
88 while (getpwuid(TT.uid)) TT.uid++; in useradd_main()
H A Dsulogin.c100 if (!(pwd = getpwuid(0))) error_exit("invalid user"); in sulogin_main()
/third_party/musl/libc-test/src/functionalext/supplement/passwd/
H A 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/
H A Dsetup-vms.h29 /* getenv(), getpwuid() and provide is_vms_shell() */
42 # define getpwuid decc_getpwuid macro
53 #undef getpwuid macro
55 #define getpwuid vms_getpwuid macro
74 # define decc_getpwuid decc$getpwuid
H A Dnetrc.c305 pw = getpwuid(geteuid()); in Curl_parsenetrc()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dpwd.h36 struct passwd *getpwuid (uid_t);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dpwd.h36 struct passwd *getpwuid (uid_t);
/third_party/musl/porting/uniproton/kernel/include/
H A Dpwd.h36 struct passwd *getpwuid (uid_t);
/third_party/musl/src/passwd/
H A Dgetpwent.c25 struct passwd *getpwuid(uid_t uid) in getpwuid() function
/third_party/ltp/testcases/kernel/syscalls/getgid/
H A Dgetgid03.c30 pwent = getpwuid(uid); in run()
43 tst_res(TPASS, "values from getgid() and getpwuid() match"); in run()
/third_party/musl/include/
H A Dpwd.h36 struct passwd *getpwuid (uid_t);
/third_party/musl/libc-test/src/api/
H A Dpwd.c19 {struct passwd*(*p)(uid_t) = getpwuid;} in f()
/third_party/python/Lib/
H A Dnetrc.py150 fowner = pwd.getpwuid(prop.st_uid)[0]
154 user = pwd.getpwuid(os.getuid())[0]
H A Dgetpass.py169 return pwd.getpwuid(os.getuid())[0]
/third_party/ltp/testcases/kernel/syscalls/add_key/
H A Dadd_key03.c63 while (getpwuid(uid)) in do_test()
/third_party/ltp/testcases/kernel/syscalls/getegid/
H A Dgetegid02.c59 pwent = getpwuid(euid); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/
H A D9-1.c48 if (!getpwuid(uid) && !setuid(uid)) in reset_uid()
/third_party/musl/Benchmark/musl/
H A Dlibc_pwd.cpp73 if (getpwuid(uid) == nullptr) { in Bm_function_Getpwuid()
74 perror("getpwuid proc"); in Bm_function_Getpwuid()
/third_party/selinux/libselinux/utils/
H A Dtogglesebool.c81 struct passwd *pwd = getpwuid(getuid()); in main()
/third_party/curl/src/
H A Dtool_findfile.c100 * 2. Non-windows: try getpwuid
148 struct passwd *pw = getpwuid(geteuid()); in findfile()
/third_party/libwebsockets/lib/plat/unix/
H A Dunix-caps.c205 p = getpwuid(context->uid);
208 lwsl_cx_err(context, "getpwuid: unable to find uid %d",
/third_party/python/Tools/c-analyzer/c_common/
H A Dfsutil.py395 username = pwd.getpwuid(uid)[0]
401 entry = pwd.getpwuid(uid)
/third_party/python/Lib/distutils/tests/
H A Dtest_archive_util.py343 owner = pwd.getpwuid(0)[0]
373 owner = pwd.getpwuid(0)[0]

Completed in 9 milliseconds

123