Searched refs:pw_gid (Results 1 – 11 of 11) sorted by relevance
15 __gid_t pw_gid; member
153 if ((setegid(ses.authstate.pw->pw_gid)) < 0 || in agentcleanup()216 if ((setegid(ses.authstate.pw->pw_gid)) < 0 || in bindagent()
369 gid = pw->pw_gid; in pty_setowner()
911 if ((setgid(ses.authstate.pw->pw_gid) < 0) || in execchild()913 ses.authstate.pw->pw_gid) < 0)) { in execchild()
325 if (initgroups (user, pw->pw_gid)) in switch_user()333 if (setgid (pw->pw_gid)) in switch_user()336 "cannot setgid group %i", pw->pw_gid); in switch_user()
210 if (setgid(user_pwd->pw_gid) < 0) { in change_process_uid()211 fprintf(stderr, "Failed to setgid(%d)\n", user_pwd->pw_gid); in change_process_uid()
170 if (fchown(fd, pw_oprofile->pw_uid, pw_oprofile->pw_gid) != 0) { in change_owner()374 if (setegid(pw_oprofile->pw_gid) != 0) { in process_jit_dumpfile()
392 if (initgroups(pw->pw_name, pw->pw_gid) != 0 || in droproot()393 setgid(pw->pw_gid) != 0 || setuid(pw->pw_uid) != 0) { in droproot()397 (unsigned long)pw->pw_gid, in droproot()
221 script_gid = ent_pw->pw_gid; in main()240 gp = getgrgid(ent_pw->pw_gid); in main()
337 run_gid = pent->pw_gid;
1927 info->primary_gid = p->pw_gid; in fill_user_info_from_passwd()