Home
last modified time | relevance | path

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

/external/openssh/
Duidswap.c58 static int saved_egroupslen = -1, user_groupslen = -1; variable
104 if (user_groupslen == -1) { in temporarily_use_uid()
109 user_groupslen = getgroups(0, NULL); in temporarily_use_uid()
110 if (user_groupslen < 0) in temporarily_use_uid()
112 if (user_groupslen > 0) { in temporarily_use_uid()
114 user_groupslen, sizeof(gid_t)); in temporarily_use_uid()
115 if (getgroups(user_groupslen, user_groups) < 0) in temporarily_use_uid()
123 if (setgroups(user_groupslen, user_groups) < 0) in temporarily_use_uid()