Home
last modified time | relevance | path

Searched refs:setgroups (Results 1 – 25 of 61) sorted by relevance

123

/freebsd/crypto/openssh/
H A Duidswap.c120 if (setgroups(user_groupslen, user_groups) == -1) in temporarily_use_uid()
171 if (setgroups(saved_egroupslen, saved_egroups) == -1) in restore_uid()
/freebsd/lib/libc/gen/
H A Dinitgroups.c59 ret = setgroups(ngroups, groups); in initgroups()
/freebsd/usr.bin/newgrp/
H A Dnewgrp.c205 if (setgroups(ngrps, (const gid_t *)grps) < 0) { in addgroup()
229 if (setgroups(ngrps, (const gid_t *)grps)) { in addgroup()
/freebsd/contrib/openpam/lib/libpam/
H A Dopenpam_restore_cred.c75 setgroups(scred->ngroups, scred->groups) < 0 || in openpam_restore_cred()
/freebsd/tools/test/stress2/misc/
H A Dkillpg.sh116 if (setgroups(1, &pw->pw_gid) ||
H A Dmaxproc.sh106 if (setgroups(1, &pw->pw_gid) ||
H A Dmlockall3.sh133 if (setgroups(1, &pw->pw_gid) ||
H A Dsched.sh110 if (setgroups(1, &pw->pw_gid) ||
H A Dsigreturn3.sh124 if (setgroups(1, &pw->pw_gid) ||
H A Dftruncate.sh173 if (setgroups(1, &pw->pw_gid) ||
H A Dmsync.sh169 if (setgroups(1, &pw->pw_gid) ||
H A Dfdatasync.sh181 if (setgroups(1, &pw->pw_gid) ||
H A Dfdatasync2.sh180 if (setgroups(1, &pw->pw_gid) ||
H A Dkillpg2.sh80 if (setgroups(1, &pw->pw_gid) ||
H A Dtmpfs16.sh184 if (setgroups(1, &pw->pw_gid) ||
H A Dsigreturn4.sh150 if (setgroups(1, &pw->pw_gid) ||
H A Dpread.sh173 if (setgroups(1, &pw->pw_gid) ||
H A Dftruncate2.sh188 if (setgroups(1, &pw->pw_gid) ||
H A Dkillpg3.sh112 if (setgroups(1, &pw->pw_gid) ||
H A Dfifo2.sh170 if (setgroups(1, &pw->pw_gid) ||
/freebsd/usr.sbin/chroot/
H A Dchroot.c159 if (gids && setgroups(gids, gidlist) == -1) in main()
/freebsd/contrib/kyua/utils/process/
H A Disolation.cpp161 if (::setgroups(1, groups) == -1) in isolate_child()
/freebsd/contrib/openbsm/bin/auditdistd/
H A Dsandbox.c161 if (setgroups(ngroups, groups) == -1) { in sandbox()
/freebsd/tools/regression/priv/
H A Dpriv_cred.c127 error = setgroups(gidset_len, gidset); in priv_cred_setgroups()
/freebsd/tools/regression/security/access/
H A Dtestaccess.c190 error = setgroups(0, NULL); in main()

123