Home
last modified time | relevance | path

Searched refs:old_gid (Results 1 – 2 of 2) sorted by relevance

/freebsd/crypto/openssh/
H A Duidswap.c185 gid_t old_gid = getgid(); in permanently_set_uid() local
213 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()
/freebsd/sys/security/mac_do/
H A Dmac_do.c1678 const gid_t old_gid = old_groups[old_idx]; in rule_grant_supplementary_groups() local
1680 if (old_gid < gid) { in rule_grant_supplementary_groups()
1684 } else if (old_gid == gid) { in rule_grant_supplementary_groups()