Searched refs:setgroups (Results 1 - 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/lib/libc/common/sys/
H A Dsetgroups.s30 .file "setgroups.s"
32 /* C library -- setgroups */
33 /* int setgroups(int ngroups, uid_t grouplist[]) */
37 ANSI_PRAGMA_WEAK(setgroups,function)
41 SYSCALL_RVAL1(setgroups)
43 SET_SIZE(setgroups)
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dsetgroups.c30 * POSIX.1 compatible setgroups() routine
41 setgroups(int ngroups, gid_t grouplist[]) function
43 int glist[NGROUPS]; /* setgroups() syscall expects ints */
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dinitgroups.c79 retsave = setgroups(ngroups, groups);
H A Dprivlib.c508 (void) setgroups(0, NULL);
/illumos-gate/usr/src/uts/common/syscall/
H A Dgroups.c41 setgroups(int gidsetsize, gid_t *gidset) function
/illumos-gate/usr/src/man/man2/
H A DMakefile243 setgroups.2 \
321 setgroups.2 := LINKSRC = getgroups.2
/illumos-gate/usr/src/lib/libsocket/inet/
H A Drcmd.c619 setgroups(ngroups, grouplist);
629 setgroups(ngroups, grouplist);
639 setgroups(ngroups, grouplist);
648 setgroups(ngroups, grouplist);
/illumos-gate/usr/src/cmd/power/
H A Dconf.c310 (void) setgroups(0, NULL);
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_main.c430 (void) setgroups(0, NULL);
/illumos-gate/usr/src/boot/include/
H A Dunistd.h559 int setgroups(int, const gid_t *);
/illumos-gate/usr/src/uts/common/os/
H A Dsysent.c177 int setgroups(int, gid_t *);
548 /* 91 */ SYSENT_CI("setgroups", setgroups, 2),
915 /* 91 */ SYSENT_CI("setgroups", setgroups, 2),
/illumos-gate/usr/src/head/
H A Dunistd.h501 extern int setgroups(int, const gid_t *);
/illumos-gate/usr/src/lib/libbc/sparc/
H A DMakefile156 getgroups.o setgroups.o
162 rmdir.o setgroups.o setpgrp.o stat.o statfs.o \
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_main.c336 (void) setgroups(0, NULL);
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dsyscall.c293 return (setgroups(i1, c1));
/illumos-gate/usr/src/cmd/rexd/
H A Drpc.rexd.c1191 if (setgroups(ucred->aup_len, (gid_t *)ucred->aup_gids) == -1) {
/illumos-gate/usr/src/lib/libc/i386/
H A DMakefile.com281 setgroups.o \
/illumos-gate/usr/src/lib/libc/sparcv9/
H A DMakefile.com282 setgroups.o \
/illumos-gate/usr/src/cmd/sendmail/src/
H A Drecipient.c1527 if (setgroups(1, gidset) == -1)
1530 syserr("include: setgroups() failed");
H A Ddeliver.c2470 if (setgroups(1, gidset) == -1
2473 syserr("openmailer: setgroups() failed");
2497 if (setgroups(1, gidset) == -1
2500 syserr("openmailer: setgroups() failed");
5416 if (setgroups(1, gidset) == -1 && suidwarn)
5418 syserr("mailfile: setgroups() failed");
H A Dmain.c3719 ** Notice: on some OS (Linux...) the setgroups() call causes
3722 ** setgroups() can only succeed if executed by root.
3724 ** if (geteuid() == 0 && setgroups(1, emptygidset) == -1)
3727 if (setgroups(1, emptygidset) == -1 && geteuid() == 0)
3729 syserr("drop_privileges: setgroups(1, %d) failed",
/illumos-gate/usr/src/lib/libc/amd64/
H A DMakefile254 setgroups.o \
/illumos-gate/usr/src/lib/libc/sparc/
H A DMakefile.com301 setgroups.o \
/illumos-gate/usr/src/lib/librestart/common/
H A Dlibrestart.c3469 * ngroups is too big (setgroups)
3473 * EPERM - insufficient privilege (setregid, initgroups, setgroups, setppriv,
3577 setgroups(cip->ngroups, cip->groups) != 0) {
3578 *fp = "setgroups";
/illumos-gate/usr/src/cmd/cron/
H A Dcron.c3275 (void) setgroups(numOrigGrps, OrigGrps);

Completed in 100 milliseconds

12