/external/ltp/testcases/kernel/syscalls/rename/ |
D | rename09.c | 94 uid_t nobody_uid, bin_uid; variable 126 rval = setreuid(nobody_uid, nobody_uid); in main() 131 nobody_uid, nobody_uid); in main() 231 nobody_uid = pw->pw_uid; in setup()
|
D | rename12.c | 89 uid_t nobody_uid; variable 127 if (seteuid(nobody_uid) == -1) { in main() 183 nobody_uid = pw->pw_uid; in setup()
|
/external/ltp/testcases/kernel/syscalls/vhangup/ |
D | vhangup01.c | 18 static uid_t nobody_uid; variable 29 retval = setreuid(nobody_uid, nobody_uid); in run() 47 nobody_uid = pw->pw_uid; in setup()
|
/external/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir04.c | 22 static uid_t nobody_uid, bin_uid; variable 46 nobody_uid = pw->pw_uid; in setup() 52 SAFE_SETREUID(nobody_uid, nobody_uid); in setup()
|
D | mkdir02.c | 24 static uid_t nobody_uid, bin_uid; variable 72 nobody_uid = pw->pw_uid; in setup() 83 SAFE_SETREUID(nobody_uid, nobody_uid); in setup()
|
/external/ltp/testcases/kernel/syscalls/chdir/ |
D | chdir03.c | 25 static uid_t nobody_uid; variable 33 SAFE_SETUID(nobody_uid); in verify_chdir() 57 nobody_uid = pw->pw_uid; in setup()
|
/external/ltp/testcases/kernel/syscalls/execve/ |
D | execve02.c | 34 static uid_t nobody_uid; variable 40 SAFE_SETEUID(nobody_uid); in do_child() 74 nobody_uid = pwd->pw_uid; in setup()
|
/external/ltp/testcases/kernel/syscalls/creat/ |
D | creat04.c | 23 static uid_t nobody_uid; variable 34 SAFE_SETEUID(nobody_uid); in child_fn() 64 nobody_uid = pw->pw_uid; in setup()
|
/external/ltp/testcases/kernel/syscalls/setfsgid/ |
D | setfsgid03.c | 39 static char nobody_uid[] = "nobody"; variable 90 ltpuser = getpwnam(nobody_uid); in setup() 93 nobody_uid); in setup()
|
/external/ltp/testcases/kernel/syscalls/setfsuid/ |
D | setfsuid03.c | 41 static char nobody_uid[] = "nobody"; variable 90 ltpuser = getpwnam(nobody_uid); in setup() 93 nobody_uid); in setup()
|
D | setfsuid04.c | 47 static char nobody_uid[] = "nobody"; variable 168 ltpuser = getpwnam(nobody_uid); in setup() 171 nobody_uid); in setup()
|
/external/ltp/testcases/kernel/security/dirtyc0w/ |
D | dirtyc0w.c | 41 static uid_t nobody_uid; variable 50 nobody_uid = pw->pw_uid; in setup() 68 SAFE_SETUID(nobody_uid); in dirtyc0w_test()
|
/external/ltp/testcases/kernel/syscalls/sched_setscheduler/ |
D | sched_setscheduler02.c | 66 static uid_t nobody_uid; variable 91 SAFE_SETEUID(cleanup, nobody_uid); in main() 134 nobody_uid = pw->pw_uid; in setup()
|
D | sched_setscheduler03.c | 113 uid_t nobody_uid; in setup() local 116 nobody_uid = pw->pw_uid; in setup() 141 SAFE_SETEUID(nobody_uid); in setup() 143 if (euid != nobody_uid) in setup()
|
/external/ltp/testcases/kernel/syscalls/readlink/ |
D | readlink01.c | 22 static uid_t nobody_uid; variable 59 SAFE_SETUID(nobody_uid); in verify_readlink() 76 nobody_uid = pw->pw_uid; in setup()
|
/external/ltp/testcases/kernel/syscalls/setgid/ |
D | setgid02.c | 37 static char nobody_uid[] = "nobody"; variable 87 ltpuser = getpwnam(nobody_uid); in setup() 90 nobody_uid); in setup()
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open05.c | 46 static uid_t nobody_uid; variable 70 if (seteuid(nobody_uid) == -1) { in main() 121 nobody_uid = pw->pw_uid; in setup()
|
/external/ltp/testcases/kernel/syscalls/prctl/ |
D | prctl06.c | 22 static uid_t nobody_uid; variable 43 SAFE_SETUID(nobody_uid); in do_prctl() 79 nobody_uid = pw->pw_uid; in setup()
|
/external/ltp/testcases/kernel/syscalls/swapoff/ |
D | swapoff02.c | 46 static uid_t nobody_uid; variable 117 SAFE_SETEUID(cleanup, nobody_uid); in setup01() 135 nobody_uid = nobody->pw_uid; in setup()
|
/external/ltp/testcases/kernel/syscalls/swapon/ |
D | swapon02.c | 48 static uid_t nobody_uid; variable 114 SAFE_SETEUID(cleanup, nobody_uid); in setup01() 131 nobody_uid = nobody->pw_uid; in setup()
|
/external/ltp/testcases/kernel/syscalls/mlockall/ |
D | mlockall02.c | 180 char nobody_uid[] = "nobody"; in setup_test() local 195 ltpuser = getpwnam(nobody_uid); in setup_test() 218 ltpuser = getpwnam(nobody_uid); in setup_test()
|
D | mlockall03.c | 216 char nobody_uid[] = "nobody"; in setup_test() local 221 ltpuser = getpwnam(nobody_uid); in setup_test() 251 ltpuser = getpwnam(nobody_uid); in setup_test()
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod06.c | 45 static uid_t nobody_uid; variable 101 SAFE_SETEUID(nobody_uid); in set_nobody() 110 nobody_uid = nobody->pw_uid; in setup()
|
/external/ltp/testcases/kernel/syscalls/chroot/ |
D | chroot01.c | 59 char nobody_uid[] = "nobody"; variable 99 if ((ltpuser = getpwnam(nobody_uid)) == NULL) in setup()
|
/external/ltp/testcases/kernel/syscalls/setrlimit/ |
D | setrlimit02.c | 14 static char nobody_uid[] = "nobody"; variable 49 struct passwd *ltpuser = SAFE_GETPWNAM(nobody_uid); in setup()
|