Searched refs:old_gid (Results 1 – 2 of 2) sorted by relevance
185 gid_t old_gid = getgid(); in permanently_set_uid() local213 if (old_gid != pw->pw_gid && pw->pw_uid != 0 && in permanently_set_uid()214 (setgid(old_gid) != -1 || setegid(old_gid) != -1)) in permanently_set_uid()
1678 const gid_t old_gid = old_groups[old_idx]; in rule_grant_supplementary_groups() local1680 if (old_gid < gid) { in rule_grant_supplementary_groups()1684 } else if (old_gid == gid) { in rule_grant_supplementary_groups()