Home
last modified time | relevance | path

Searched refs:setreuid (Results 1 – 25 of 119) sorted by relevance

12345

/external/ltp/testcases/kernel/syscalls/setreuid/
Dsetreuid02.c116 UID16_CHECK(root.pw_uid, setreuid, cleanup); in setup()
119 UID16_CHECK(nobody.pw_uid, setreuid, cleanup); in setup()
122 UID16_CHECK(daemonpw.pw_uid, setreuid, cleanup); in setup()
125 UID16_CHECK(bin.pw_uid, setreuid, cleanup); in setup()
Dsetreuid05.c171 UID16_CHECK(nobody.pw_uid, setreuid, cleanup); in setup()
174 UID16_CHECK(daemonpw.pw_uid, setreuid, cleanup); in setup()
177 UID16_CHECK(root.pw_uid, setreuid, cleanup); in setup()
180 UID16_CHECK(bin.pw_uid, setreuid, cleanup); in setup()
Dsetreuid03.c165 UID16_CHECK(root.pw_uid, setreuid, cleanup); in setup()
168 UID16_CHECK(nobody.pw_uid, setreuid, cleanup); in setup()
171 UID16_CHECK(bin.pw_uid, setreuid, cleanup); in setup()
Dsetreuid01.c73 UID16_CHECK(ruid, setreuid, cleanup); in main()
76 UID16_CHECK(euid, setreuid, cleanup); in main()
Dsetreuid04.c121 UID16_CHECK(root.pw_uid, setreuid, cleanup); in setup()
124 UID16_CHECK(nobody.pw_uid, setreuid, cleanup); in setup()
/external/ltp/testcases/kernel/syscalls/getresuid/
Dgetresuid02.c165 if (setreuid(-1, ps_uid) < 0) { in setup()
182 if (setreuid(-1, pr_uid) < 0) { in cleanup()
Dgetresuid03.c182 if (setreuid(-1, pr_uid) < 0) { in cleanup()
/external/ltp/testcases/kernel/syscalls/kill/
Dkill05.c163 if (setreuid(ltpuser1->pw_uid, ltpuser1->pw_uid) == -1) { in do_master_child()
178 if (setreuid(ltpuser2->pw_uid, ltpuser2->pw_uid) == -1) { in do_master_child()
/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod03.c260 if (setreuid(-1, user1_uid) < 0) { in setup()
289 if (setreuid(-1, save_myuid) < 0) { in cleanup()
Dmknod08.c260 if (setreuid(-1, user1_uid) < 0) { in setup()
289 if (setreuid(-1, save_myuid) < 0) { in cleanup()
Dmknod02.c265 if (setreuid(-1, user1_uid) < 0) { in setup()
294 if (setreuid(-1, save_myuid) < 0) { in cleanup()
Dmknod04.c265 if (setreuid(-1, user1_uid) < 0) { in setup()
294 if (setreuid(-1, save_myuid) < 0) { in cleanup()
/external/ltp/testcases/kernel/syscalls/mount/
Dmount03_setuid_test.c43 status = setreuid(ruid, 0); in do_setuid()
/external/ltp/testcases/kernel/syscalls/vhangup/
Dvhangup01.c29 retval = setreuid(nobody_uid, nobody_uid); in run()
/external/ltp/include/lapi/syscalls/
Ds390.in260 setreuid 70
311 setreuid 203
Ds390x.in260 setreuid 70
310 setreuid 203
/external/openssh/openbsd-compat/
Dbsd-setres_id.c73 if (setreuid(ruid, euid) < 0) { in setresuid()
/external/python/cpython2/Misc/
Dsetuid-prog.c164 if (setreuid(euid, euid) < 0) in main()
/external/libfuse/lib/
Dmount_util.c70 setreuid(0, -1); in mtab_needs_update()
75 setreuid(ruid, -1); in mtab_needs_update()
/external/clang/test/Analysis/
Dsecurity-syntax-checks.m65 int setreuid(uid_t, uid_t); function
84setreuid(2,2); // expected-warning{{The return value from the call to 'setreuid' is not checked. …
/external/ltp/testcases/kernel/syscalls/creat/
Dcreat08.c236 if (setreuid(-1, user1_uid) == -1) { in main()
386 if (setreuid(-1, save_myuid) == -1) { in main()
/external/libcap/progs/old/
Dsucap.c140 setreuid(uid, uid); in main()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl18.c129 retval = setreuid(-1, pass->pw_uid); in main()
/external/ltp/testcases/kernel/syscalls/open/
Dopen10.c216 if (setreuid(-1, user1_uid) < 0) in main()
371 if (setreuid(-1, save_myuid) < 0) { in main()
/external/ltp/testcases/kernel/syscalls/rename/
Drename09.c126 rval = setreuid(nobody_uid, nobody_uid); in main()

12345