Home
last modified time | relevance | path

Searched refs:nobody_uid (Results 1 – 25 of 60) sorted by relevance

123

/external/ltp/testcases/kernel/syscalls/rename/
Drename09.c94 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()
Drename12.c89 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/
Dvhangup01.c18 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/
Dmkdir04.c22 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()
Dmkdir02.c24 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/
Dchdir03.c25 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/
Dexecve02.c34 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/
Dcreat04.c23 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/
Dsetfsgid03.c39 static char nobody_uid[] = "nobody"; variable
90 ltpuser = getpwnam(nobody_uid); in setup()
93 nobody_uid); in setup()
/external/ltp/testcases/kernel/syscalls/setfsuid/
Dsetfsuid03.c41 static char nobody_uid[] = "nobody"; variable
90 ltpuser = getpwnam(nobody_uid); in setup()
93 nobody_uid); in setup()
Dsetfsuid04.c47 static char nobody_uid[] = "nobody"; variable
168 ltpuser = getpwnam(nobody_uid); in setup()
171 nobody_uid); in setup()
/external/ltp/testcases/kernel/security/dirtyc0w/
Ddirtyc0w.c41 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/
Dsched_setscheduler02.c66 static uid_t nobody_uid; variable
91 SAFE_SETEUID(cleanup, nobody_uid); in main()
134 nobody_uid = pw->pw_uid; in setup()
Dsched_setscheduler03.c113 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/
Dreadlink01.c22 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/
Dsetgid02.c37 static char nobody_uid[] = "nobody"; variable
87 ltpuser = getpwnam(nobody_uid); in setup()
90 nobody_uid); in setup()
/external/ltp/testcases/kernel/syscalls/open/
Dopen05.c46 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/
Dprctl06.c22 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/
Dswapoff02.c46 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/
Dswapon02.c48 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/
Dmlockall02.c180 char nobody_uid[] = "nobody"; in setup_test() local
195 ltpuser = getpwnam(nobody_uid); in setup_test()
218 ltpuser = getpwnam(nobody_uid); in setup_test()
Dmlockall03.c216 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/
Dchmod06.c45 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/
Dchroot01.c59 char nobody_uid[] = "nobody"; variable
99 if ((ltpuser = getpwnam(nobody_uid)) == NULL) in setup()
/external/ltp/testcases/kernel/syscalls/setrlimit/
Dsetrlimit02.c14 static char nobody_uid[] = "nobody"; variable
49 struct passwd *ltpuser = SAFE_GETPWNAM(nobody_uid); in setup()

123