Home
last modified time | relevance | path

Searched refs:nobody (Results 1 – 25 of 149) sorted by relevance

123456

/external/ltp/testcases/kernel/syscalls/setreuid/
Dsetreuid03.c42 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 …]
Dsetreuid05.c40 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()
Dsetreuid04.c38 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()
Dsetreuid02.c36 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/
Dsetresgid03.c101 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()
Dsetresgid01.c95 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()
Dsetresgid02.c100 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/
Dsetresuid02.c80 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()
Dsetresuid01.c78 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()
Dsetresuid03.c86 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/
DCGIHTTPServer.py227 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/
Dperfetto.rc20 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
Dheapprofd.rc18 user nobody
19 group nobody readproc
23 onrestart exec_background - nobody shell -- /system/bin/heapprofd --cleanup-after-crash
/external/bcc/tools/
Dexecsnoop_example.txt37 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/
Dsetegid01.c62 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/
Dmlock202.c34 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/
Dswapoff02.c128 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/
Dswapon02.c124 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/
Dtar.test38 skipnot id nobody >/dev/null
41 skipnot grep nobody /etc/group >/dev/null
114 skipnot chown nobody dir/file
/external/ltp/
DIDcheck.sh79 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/
Dchmod06.c119 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/
Dsetregid03.c22 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/
Dread_all.c258 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/
Dserver.py931 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/
Dtest-passwd2 nobody:x:99:99:Nobody:/:/sbin/nologin

123456