Home
last modified time | relevance | path

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

/external/openssh/
Duidswap.c58 static int saved_egroupslen = -1, user_groupslen = -1; variable
90 saved_egroupslen = getgroups(0, NULL); in temporarily_use_uid()
91 if (saved_egroupslen < 0) in temporarily_use_uid()
93 if (saved_egroupslen > 0) { in temporarily_use_uid()
95 saved_egroupslen, sizeof(gid_t)); in temporarily_use_uid()
96 if (getgroups(saved_egroupslen, saved_egroups) < 0) in temporarily_use_uid()
207 if (setgroups(saved_egroupslen, saved_egroups) < 0) in restore_uid()