Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Duidswap.c50 static gid_t *saved_egroups, *user_groups; variable
84 user_groups = malloc(ngroups_max * sizeof (gid_t)); in temporarily_use_uid()
85 if (saved_egroups == NULL || user_groups == NULL) in temporarily_use_uid()
98 user_groupslen = getgroups(ngroups_max, user_groups); in temporarily_use_uid()
103 if (setgroups(user_groupslen, user_groups) < 0) in temporarily_use_uid()