/external/ltp/testcases/kernel/syscalls/setreuid/ |
D | setreuid03.c | 42 static struct passwd nobody, bin, root; variable 58 &nobody.pw_uid, &nobody.pw_uid, &pass, &nobody, &nobody, 60 &neg_one, &nobody.pw_uid, &pass, &nobody, &nobody, 62 &nobody.pw_uid, &neg_one, &pass, &nobody, &nobody, 64 &neg_one, &neg_one, &pass, &nobody, &nobody, "After setreuid(-1, -1),"}, 66 &neg_one, &root.pw_uid, &fail, &nobody, &nobody, 68 &root.pw_uid, &neg_one, &fail, &nobody, &nobody, 70 &root.pw_uid, &root.pw_uid, &fail, &nobody, &nobody, 72 &root.pw_uid, &nobody.pw_uid, &fail, &nobody, &nobody, 74 &root.pw_uid, &bin.pw_uid, &fail, &nobody, &nobody, [all …]
|
D | setreuid05.c | 40 static struct passwd nobody, daemonpw, root, bin; variable 51 &nobody.pw_uid, &root.pw_uid, &pass, &nobody, &root, "Initially"}, { 52 &neg_one, &nobody.pw_uid, &pass, &nobody, &nobody, 54 &neg_one, &root.pw_uid, &pass, &nobody, &root, 62 &neg_one, &nobody.pw_uid, &fail, &daemonpw, &bin, 170 nobody = *(getpwnam("nobody")); in setup() 171 UID16_CHECK(nobody.pw_uid, setreuid, cleanup); in setup()
|
D | setreuid04.c | 38 static struct passwd nobody, root; variable 54 &nobody.pw_uid, &nobody.pw_uid, &nobody, &nobody, 123 nobody = *(getpwnam("nobody")); in setup() 124 UID16_CHECK(nobody.pw_uid, setreuid, cleanup); in setup()
|
D | setreuid02.c | 36 static struct passwd nobody, daemonpw, root, bin; variable 52 &nobody.pw_uid, &neg_one, &nobody, &root, "After setreuid(nobody, -1)"}, 118 nobody = *(getpwnam("nobody")); in setup() 119 UID16_CHECK(nobody.pw_uid, setreuid, cleanup); in setup()
|
/external/ltp/testcases/kernel/syscalls/setresgid/ |
D | setresgid03.c | 101 static struct passwd nobody, bin, root; variable 109 {&neg, &neg, &bin.pw_gid, &nobody, &nobody, &nobody}, 110 {&neg, &bin.pw_gid, &neg, &nobody, &nobody, &nobody}, 111 {&bin.pw_gid, &neg, &neg, &nobody, &nobody, &nobody}, 112 {&bin.pw_gid, &bin.pw_gid, &bin.pw_gid, &nobody, &nobody, &nobody}, 209 nobody = *passwd_p; in setup() 210 GID16_CHECK((nobody_gid = nobody.pw_gid), "setresgid", cleanup) in setup() 218 SAFE_SETUID(NULL, nobody.pw_uid); in setup()
|
D | setresgid01.c | 95 static struct passwd nobody, root; variable 106 {&neg, &neg, &nobody.pw_gid, &root, &root, &nobody, 108 {&neg, &nobody.pw_gid, &neg, &root, &nobody, &nobody, 110 {&nobody.pw_gid, &neg, &neg, &nobody, &nobody, &nobody, 199 nobody = *passwd_p; in setup() 200 GID16_CHECK((nobody_gid = nobody.pw_gid), "setresgid", cleanup) in setup()
|
D | setresgid02.c | 100 static struct passwd nobody, bin, root; variable 109 {&neg, &neg, &neg, &root, &nobody, &nobody, 111 {&neg, &neg, &bin.pw_gid, &root, &nobody, &bin, 119 {&root.pw_gid, &nobody.pw_gid, &nobody.pw_gid, &root, &nobody, &nobody, 213 nobody = *passwd_p; in setup() 214 GID16_CHECK((nobody_gid = nobody.pw_gid), "setresgid", cleanup) in setup()
|
/external/ltp/testcases/kernel/syscalls/setresuid/ |
D | setresuid02.c | 80 struct passwd nobody, bin; variable 97 &neg_one, &neg_one, &bin_pw_uid, &nobody, &bin, &bin, 99 &neg_one, &nobody_pw_uid, &neg_one, &nobody, &nobody, &bin, 101 &bin_pw_uid, &neg_one, &neg_one, &bin, &nobody, &bin, 189 nobody = *(getpwnam("nobody")); in setup() 190 UID16_CHECK((nobody_pw_uid = nobody.pw_uid), "setresuid", cleanup) in setup()
|
D | setresuid01.c | 78 struct passwd nobody, bin, root; variable 97 &neg_one, &neg_one, &nobody_pw_uid, &root, &root, &nobody, 99 &neg_one, &bin_pw_uid, &neg_one, &root, &bin, &nobody, 107 &nobody_pw_uid, &neg_one, &neg_one, &nobody, &root, &bin, 109 &neg_one, &root_pw_uid, &neg_one, &nobody, &root, &bin, 181 nobody = *(getpwnam("nobody")); in setup() 182 UID16_CHECK((nobody_pw_uid = nobody.pw_uid), "setresuid", cleanup) in setup()
|
D | setresuid03.c | 86 struct passwd nobody, bin, root; variable 202 nobody = *(getpwnam("nobody")); in setup() 203 UID16_CHECK((nobody_pw_uid = nobody.pw_uid), "setresuid", cleanup) in setup()
|
/external/python/cpython2/Lib/ |
D | CGIHTTPServer.py | 227 nobody = nobody_uid() 243 os.setuid(nobody) 345 nobody = None variable 349 global nobody 350 if nobody: 351 return nobody 357 nobody = pwd.getpwnam('nobody')[2] 359 nobody = 1 + max(map(lambda x: x[2], pwd.getpwall())) 360 return nobody
|
/external/perfetto/ |
D | perfetto.rc | 20 user nobody 21 group nobody 27 user nobody 30 group nobody readproc log 34 onrestart exec_background - nobody shell -- /system/bin/traced_probes --cleanup-after-crash
|
D | heapprofd.rc | 18 user nobody 19 group nobody readproc 23 onrestart exec_background - nobody shell -- /system/bin/heapprofd --cleanup-after-crash
|
/external/bcc/tools/ |
D | execsnoop_example.txt | 37 chown 9664 0 /bin/chown nobody:nobody ./main 40 run 9660 -2 /usr/local/bin/setuidgid nobody /command/multilog t ./main 41 chown 9668 0 /bin/chown nobody:nobody ./main 43 run 9663 -2 /usr/local/bin/setuidgid nobody /command/multilog t ./main 45 run 9661 -2 /usr/local/bin/setuidgid nobody /command/multilog t ./main
|
/external/ltp/testcases/kernel/syscalls/setegid/ |
D | setegid01.c | 62 struct passwd *nobody; in setup() local 70 nobody = SAFE_GETPWNAM(cleanup, "nobody"); in setup() 72 nobody_gid = nobody->pw_gid; in setup()
|
/external/ltp/testcases/kernel/syscalls/mlock2/ |
D | mlock202.c | 34 static struct passwd *nobody; variable 60 SAFE_SETEUID(nobody->pw_uid); in verify_mlock2() 88 nobody = SAFE_GETPWNAM("nobody"); in setup()
|
/external/ltp/testcases/kernel/syscalls/swapoff/ |
D | swapoff02.c | 128 struct passwd *nobody; in setup() local 134 nobody = SAFE_GETPWNAM(NULL, "nobody"); in setup() 135 nobody_uid = nobody->pw_uid; in setup()
|
/external/ltp/testcases/kernel/syscalls/swapon/ |
D | swapon02.c | 124 struct passwd *nobody; in setup() local 130 nobody = SAFE_GETPWNAM(cleanup, "nobody"); in setup() 131 nobody_uid = nobody->pw_uid; in setup()
|
/external/toybox/tests/ |
D | tar.test | 38 skipnot id nobody >/dev/null 41 skipnot grep nobody /etc/group >/dev/null 114 skipnot chown nobody dir/file
|
/external/ltp/ |
D | IDcheck.sh | 79 fe nobody "$passwd"; NO_NOBODY_ID=$? 83 fe nobody "$group" || fe nogroup "$group"; NO_NOBODY_GRP=$? 133 make_user_group nobody 65534 $NO_NOBODY_ID $NO_NOBODY_GRP
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod06.c | 119 struct passwd *nobody; in setup() local 122 nobody = SAFE_GETPWNAM("nobody"); in setup() 123 nobody_uid = nobody->pw_uid; in setup()
|
/external/ltp/testcases/kernel/syscalls/setregid/ |
D | setregid03.c | 22 struct passwd nobody; variable 77 nobody = *SAFE_GETPWNAM("nobody"); in setup() 85 SAFE_SETEUID(nobody.pw_uid); in setup()
|
/external/ltp/testcases/kernel/fs/read_all/ |
D | read_all.c | 258 struct passwd *nobody; in maybe_drop_privs() local 269 nobody = SAFE_GETPWNAM("nobody"); in maybe_drop_privs() 271 TEST(setgid(nobody->pw_gid)); in maybe_drop_privs() 275 TEST(setuid(nobody->pw_uid)); in maybe_drop_privs()
|
/external/python/cpython3/Lib/http/ |
D | server.py | 931 nobody = None variable 935 global nobody 936 if nobody: 937 return nobody 943 nobody = pwd.getpwnam('nobody')[2] 945 nobody = 1 + max(x[2] for x in pwd.getpwall()) 946 return nobody 1149 nobody = nobody_uid() 1165 os.setuid(nobody)
|
/external/libcap/kdebug/ |
D | test-passwd | 2 nobody:x:99:99:Nobody:/:/sbin/nologin
|