Lines Matching defs:root
21 * EXECUTED BY : root / superuser
39 * 5. setresgid(2) is successful for setresgid(root, root, root)
44 * Check existence of root and nobody user id's
95 static struct passwd nobody, root;
104 {&neg, &neg, &neg, &root, &root, &root,
106 {&neg, &neg, &nobody.pw_gid, &root, &root, &nobody,
108 {&neg, &nobody.pw_gid, &neg, &root, &nobody, &nobody,
112 {&root.pw_gid, &root.pw_gid, &root.pw_gid, &root, &root, &root,
113 "setresgid(root, root, root)"},
188 if ((passwd_p = getpwnam("root")) == NULL) {
189 tst_brkm(TBROK, NULL, "getpwnam() failed for root");
192 root = *passwd_p;
193 GID16_CHECK((root_gid = root.pw_gid), "setresgid", cleanup)