Home
last modified time | relevance | path

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

/external/openssh/
Duidswap.c63 static int saved_egroupslen = -1, user_groupslen = -1; variable
108 if (user_groupslen == -1) { in temporarily_use_uid()
113 user_groupslen = getgroups(0, NULL); in temporarily_use_uid()
114 if (user_groupslen < 0) in temporarily_use_uid()
116 if (user_groupslen > 0) { in temporarily_use_uid()
118 user_groupslen, sizeof(gid_t)); in temporarily_use_uid()
119 if (getgroups(user_groupslen, user_groups) < 0) in temporarily_use_uid()
126 if (setgroups(user_groupslen, user_groups) < 0) in temporarily_use_uid()