Home
last modified time | relevance | path

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

/external/openssh/
Duidswap.c63 static int saved_egroupslen = -1, user_groupslen = -1; variable
95 saved_egroupslen = getgroups(0, NULL); in temporarily_use_uid()
96 if (saved_egroupslen < 0) in temporarily_use_uid()
98 if (saved_egroupslen > 0) { in temporarily_use_uid()
100 saved_egroupslen, sizeof(gid_t)); in temporarily_use_uid()
101 if (getgroups(saved_egroupslen, saved_egroups) < 0) in temporarily_use_uid()
206 if (setgroups(saved_egroupslen, saved_egroups) < 0) in restore_uid()