Lines Matching refs:nobody
36 * 2. setresgid(2) is successful for setresgid(-1, -1, nobody)
37 * 3. setresgid(2) is successful for setresgid(-1, nobody, -1)
38 * 4. setresgid(2) is successful for setresgid(nobody, -1, -1)
44 * Check existence of root and nobody user id's
95 static struct passwd nobody, root;
106 {&neg, &neg, &nobody.pw_gid, &root, &root, &nobody,
107 "setresgid(-1, -1, nobody)"},
108 {&neg, &nobody.pw_gid, &neg, &root, &nobody, &nobody,
109 "setresgid(-1, nobody, -1)"},
110 {&nobody.pw_gid, &neg, &neg, &nobody, &nobody, &nobody,
111 "setresgid(nobody, -1, -1)"},
195 if ((passwd_p = getpwnam("nobody")) == NULL) {
196 tst_brkm(TBROK, NULL, "nobody user id doesn't exist");
199 nobody = *passwd_p;
200 GID16_CHECK((nobody_gid = nobody.pw_gid), "setresgid", cleanup)