Searched refs:setgroups (Results 1 – 25 of 61) sorted by relevance
123
/freebsd/crypto/openssh/ |
H A D | uidswap.c | 120 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 D | initgroups.c | 59 ret = setgroups(ngroups, groups); in initgroups()
|
/freebsd/usr.bin/newgrp/ |
H A D | newgrp.c | 205 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 D | openpam_restore_cred.c | 75 setgroups(scred->ngroups, scred->groups) < 0 || in openpam_restore_cred()
|
/freebsd/tools/test/stress2/misc/ |
H A D | killpg.sh | 116 if (setgroups(1, &pw->pw_gid) ||
|
H A D | maxproc.sh | 106 if (setgroups(1, &pw->pw_gid) ||
|
H A D | mlockall3.sh | 133 if (setgroups(1, &pw->pw_gid) ||
|
H A D | sched.sh | 110 if (setgroups(1, &pw->pw_gid) ||
|
H A D | sigreturn3.sh | 124 if (setgroups(1, &pw->pw_gid) ||
|
H A D | ftruncate.sh | 173 if (setgroups(1, &pw->pw_gid) ||
|
H A D | msync.sh | 169 if (setgroups(1, &pw->pw_gid) ||
|
H A D | fdatasync.sh | 181 if (setgroups(1, &pw->pw_gid) ||
|
H A D | fdatasync2.sh | 180 if (setgroups(1, &pw->pw_gid) ||
|
H A D | killpg2.sh | 80 if (setgroups(1, &pw->pw_gid) ||
|
H A D | tmpfs16.sh | 184 if (setgroups(1, &pw->pw_gid) ||
|
H A D | sigreturn4.sh | 150 if (setgroups(1, &pw->pw_gid) ||
|
H A D | pread.sh | 173 if (setgroups(1, &pw->pw_gid) ||
|
H A D | ftruncate2.sh | 188 if (setgroups(1, &pw->pw_gid) ||
|
H A D | killpg3.sh | 112 if (setgroups(1, &pw->pw_gid) ||
|
H A D | fifo2.sh | 170 if (setgroups(1, &pw->pw_gid) ||
|
/freebsd/usr.sbin/chroot/ |
H A D | chroot.c | 159 if (gids && setgroups(gids, gidlist) == -1) in main()
|
/freebsd/contrib/kyua/utils/process/ |
H A D | isolation.cpp | 161 if (::setgroups(1, groups) == -1) in isolate_child()
|
/freebsd/contrib/openbsm/bin/auditdistd/ |
H A D | sandbox.c | 161 if (setgroups(ngroups, groups) == -1) { in sandbox()
|
/freebsd/tools/regression/priv/ |
H A D | priv_cred.c | 127 error = setgroups(gidset_len, gidset); in priv_cred_setgroups()
|
/freebsd/tools/regression/security/access/ |
H A D | testaccess.c | 190 error = setgroups(0, NULL); in main()
|
123