Home
last modified time | relevance | path

Searched refs:pw_uid (Results 176 - 200 of 238) sorted by relevance

12345678910

/third_party/ltp/testcases/kernel/syscalls/ipc/shmget/
H A Dshmget02.c106 SAFE_SETUID(pw->pw_uid); in do_test()
/third_party/ltp/testcases/kernel/syscalls/setregid/
H A Dsetregid03.c69 SAFE_SETEUID(nobody->pw_uid); in setup()
H A Dsetregid02.c109 SAFE_SETUID(ltpuser->pw_uid); in setup()
/third_party/ltp/testcases/kernel/syscalls/acct/
H A Dacct01.c51 SAFE_SETEUID(ltpuser->pw_uid); in setup_euid()
/third_party/ltp/testcases/kernel/syscalls/chdir/
H A Dchdir01.c139 SAFE_SETEUID(ltpuser->pw_uid); in run()
/third_party/ltp/testcases/kernel/syscalls/chmod/
H A Dchmod06.c110 nobody_uid = nobody->pw_uid; in setup()
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/
H A Dshmctl04.c160 nobody_uid = ltpuser->pw_uid; in setup()
H A Dshmctl02.c114 SAFE_SETEUID(ltpuser->pw_uid); in setup()
/third_party/ltp/testcases/kernel/syscalls/move_pages/
H A Dmove_pages11.c214 SAFE_SETEUID(NULL, ltpuser->pw_uid); in setup()
/third_party/ltp/testcases/kernel/syscalls/setns/
H A Dsetns01.c63 SAFE_SETEUID(ltpuser->pw_uid); in setup4()
/third_party/ltp/testcases/kernel/syscalls/setreuid/
H A Dsetreuid05.c71 nobody_uid = test_users[0] = pw->pw_uid; in setup()
H A Dsetreuid03.c69 nobody_uid = test_users[0] = pw->pw_uid; in setup()
/third_party/ltp/testcases/kernel/syscalls/truncate/
H A Dtruncate03.c88 SAFE_SETEUID(ltpuser->pw_uid); in setup()
/third_party/ltp/testcases/kernel/syscalls/add_key/
H A Dadd_key05.c48 ltpuser[(unsigned int)n] = pw->pw_uid; in add_user()
/third_party/ltp/testcases/kernel/syscalls/clock_adjtime/
H A Dclock_adjtime02.c149 whoami = nobody->pw_uid; in verify_clock_adjtime()
/third_party/ltp/testcases/kernel/syscalls/fanotify/
H A Dfanotify19.c154 SAFE_SETEUID(nobody->pw_uid); in test_fanotify()
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/
H A Dsemop02.c86 SAFE_SETUID(ltpuser->pw_uid); in setup()
/third_party/ltp/testcases/kernel/syscalls/linkat/
H A Dlinkat02.c180 SAFE_SETEUID(cleanup, ltpuser->pw_uid); in setup_eacces()
/third_party/toybox/lib/
H A Dxwrap.c683 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 Dmigrate_pages01.c180 SAFE_SETUID(NULL, ltpuser->pw_uid); in test_invalid_perm()
/third_party/ltp/testcases/kernel/syscalls/mount/
H A Dmount03.c195 nobody_uid = ltpuser->pw_uid; in setup()
/third_party/ltp/testcases/kernel/syscalls/cma/
H A Dprocess_vm01.c236 SAFE_SETUID(ltpuser->pw_uid); in test_invalid_perm()
/third_party/rust/crates/libc/src/unix/linux_like/android/b32/
H A Dmod.rs134 pub pw_uid: ::uid_t,
/third_party/toybox/toys/pending/
H A Dmdev.c152 uid = pass->pw_uid; in make_device()
/third_party/python/Modules/
H A Dpwdmodule.c18 {"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()

Completed in 10 milliseconds

12345678910