/third_party/ltp/testcases/kernel/syscalls/ipc/shmget/ |
H A D | shmget02.c | 106 SAFE_SETUID(pw->pw_uid); in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/setregid/ |
H A D | setregid03.c | 69 SAFE_SETEUID(nobody->pw_uid); in setup()
|
H A D | setregid02.c | 109 SAFE_SETUID(ltpuser->pw_uid); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/acct/ |
H A D | acct01.c | 51 SAFE_SETEUID(ltpuser->pw_uid); in setup_euid()
|
/third_party/ltp/testcases/kernel/syscalls/chdir/ |
H A D | chdir01.c | 139 SAFE_SETEUID(ltpuser->pw_uid); in run()
|
/third_party/ltp/testcases/kernel/syscalls/chmod/ |
H A D | chmod06.c | 110 nobody_uid = nobody->pw_uid; in setup()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
H A D | shmctl04.c | 160 nobody_uid = ltpuser->pw_uid; in setup()
|
H A D | shmctl02.c | 114 SAFE_SETEUID(ltpuser->pw_uid); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/move_pages/ |
H A D | move_pages11.c | 214 SAFE_SETEUID(NULL, ltpuser->pw_uid); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/setns/ |
H A D | setns01.c | 63 SAFE_SETEUID(ltpuser->pw_uid); in setup4()
|
/third_party/ltp/testcases/kernel/syscalls/setreuid/ |
H A D | setreuid05.c | 71 nobody_uid = test_users[0] = pw->pw_uid; in setup()
|
H A D | setreuid03.c | 69 nobody_uid = test_users[0] = pw->pw_uid; in setup()
|
/third_party/ltp/testcases/kernel/syscalls/truncate/ |
H A D | truncate03.c | 88 SAFE_SETEUID(ltpuser->pw_uid); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/add_key/ |
H A D | add_key05.c | 48 ltpuser[(unsigned int)n] = pw->pw_uid; in add_user()
|
/third_party/ltp/testcases/kernel/syscalls/clock_adjtime/ |
H A D | clock_adjtime02.c | 149 whoami = nobody->pw_uid; in verify_clock_adjtime()
|
/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
H A D | fanotify19.c | 154 SAFE_SETEUID(nobody->pw_uid); in test_fanotify()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/ |
H A D | semop02.c | 86 SAFE_SETUID(ltpuser->pw_uid); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/linkat/ |
H A D | linkat02.c | 180 SAFE_SETEUID(cleanup, ltpuser->pw_uid); in setup_eacces()
|
/third_party/toybox/lib/ |
H A D | xwrap.c | 683 if (up) return up->pw_uid; in xgetuid() 726 if (initgroups(pwd->pw_name, pwd->pw_gid) || setgid(pwd->pw_uid) in xsetuser() 727 || setuid(pwd->pw_uid)) perror_exit("xsetuser '%s'", pwd->pw_name); in xsetuser()
|
/third_party/ltp/testcases/kernel/syscalls/migrate_pages/ |
H A D | migrate_pages01.c | 180 SAFE_SETUID(NULL, ltpuser->pw_uid); in test_invalid_perm()
|
/third_party/ltp/testcases/kernel/syscalls/mount/ |
H A D | mount03.c | 195 nobody_uid = ltpuser->pw_uid; in setup()
|
/third_party/ltp/testcases/kernel/syscalls/cma/ |
H A D | process_vm01.c | 236 SAFE_SETUID(ltpuser->pw_uid); in test_invalid_perm()
|
/third_party/rust/crates/libc/src/unix/linux_like/android/b32/ |
H A D | mod.rs | 134 pub pw_uid: ::uid_t,
|
/third_party/toybox/toys/pending/ |
H A D | mdev.c | 152 uid = pass->pw_uid; in make_device()
|
/third_party/python/Modules/ |
H A D | pwdmodule.c | 18 {"pw_uid", "user id"}, 29 (pw_name,pw_passwd,pw_uid,pw_gid,pw_gecos,pw_dir,pw_shell)\n\ 45 pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell.\n\ 95 PyStructSequence_SET_ITEM(v, setIndex++, _PyLong_FromUid(p->pw_uid)); in mkpwent()
|