Searched refs:setgid (Results 1 – 25 of 155) sorted by relevance
1234567
61 GID16_CHECK(rootpwent->pw_gid, setgid, cleanup); in main()92 if (setgid(ltpuser->pw_gid) == -1) { in setup()
86 GID16_CHECK(gid, setgid, cleanup); in setup()
95 GID16_CHECK(ltpuser1pwent->pw_gid, setgid, cleanup); in setup()
115 setgid(egid); in reclaim_privs()123 setgid(rgid); in drop_privs()
139 if (setgid(getegid()) == -1) in temporarily_use_uid()182 if (setgid(getgid()) == -1) in restore_uid()253 (setgid(old_gid) != -1 || setegid(old_gid) != -1)) in permanently_set_uid()
38 setgid(pwd->pw_gid); in main()
46 if (setgid(pw->pw_gid) != 0) { in set_nonroot()
256 setgid 46322 setgid 214
256 setgid 46321 setgid 214
146 setgid 144
105 setgid 104
297 if (setgid(NO_POLICY_USER) < 0) in main()314 if (setgid(RESTRICTED_PARENT) < 0) in main()
51 if (setgid(rgid) < 0) { in setresgid()
129 if (setgid(gid)) in main()
67 setgid: 1
146 setgid(ltp_gid); in gen_gid()
94 TST_CREATE_SYSCALL(setgid, gid); in SETGID()
97 LTP_CREATE_SYSCALL(setgid, cleanup, gid); in SETGID()
146 if (setgid(context->gid)) { in lws_plat_drop_app_privileges()
114 if (setgid(group_id)) in testfperm()
78 setgid(0); in report()
14 Dr. ZP Han - setgid()/setuid().
176 if (setgid(ltpuser->pw_uid) == -1) in setup()
139 if (setgid(getgid()) != 0) in ChildFunc()
102 ret = setgid(0); in change_to_userns()