/illumos-gate/usr/src/lib/libc/common/sys/ |
H A D | setgroups.s | 30 .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 D | setgroups.c | 30 * 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 D | initgroups.c | 79 retsave = setgroups(ngroups, groups);
|
H A D | privlib.c | 508 (void) setgroups(0, NULL);
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | groups.c | 41 setgroups(int gidsetsize, gid_t *gidset) function
|
/illumos-gate/usr/src/man/man2/ |
H A D | Makefile | 243 setgroups.2 \ 321 setgroups.2 := LINKSRC = getgroups.2
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | rcmd.c | 619 setgroups(ngroups, grouplist); 629 setgroups(ngroups, grouplist); 639 setgroups(ngroups, grouplist); 648 setgroups(ngroups, grouplist);
|
/illumos-gate/usr/src/cmd/power/ |
H A D | conf.c | 310 (void) setgroups(0, NULL);
|
/illumos-gate/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_main.c | 430 (void) setgroups(0, NULL);
|
/illumos-gate/usr/src/boot/include/ |
H A D | unistd.h | 559 int setgroups(int, const gid_t *);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sysent.c | 177 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 D | unistd.h | 501 extern int setgroups(int, const gid_t *);
|
/illumos-gate/usr/src/lib/libbc/sparc/ |
H A D | Makefile | 156 getgroups.o setgroups.o 162 rmdir.o setgroups.o setpgrp.o stat.o statfs.o \
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_main.c | 336 (void) setgroups(0, NULL);
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | syscall.c | 293 return (setgroups(i1, c1));
|
/illumos-gate/usr/src/cmd/rexd/ |
H A D | rpc.rexd.c | 1191 if (setgroups(ucred->aup_len, (gid_t *)ucred->aup_gids) == -1) {
|
/illumos-gate/usr/src/lib/libc/i386/ |
H A D | Makefile.com | 281 setgroups.o \
|
/illumos-gate/usr/src/lib/libc/sparcv9/ |
H A D | Makefile.com | 282 setgroups.o \
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | recipient.c | 1527 if (setgroups(1, gidset) == -1) 1530 syserr("include: setgroups() failed");
|
H A D | deliver.c | 2470 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 D | main.c | 3719 ** 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 D | Makefile | 254 setgroups.o \
|
/illumos-gate/usr/src/lib/libc/sparc/ |
H A D | Makefile.com | 301 setgroups.o \
|
/illumos-gate/usr/src/lib/librestart/common/ |
H A D | librestart.c | 3469 * 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 D | cron.c | 3275 (void) setgroups(numOrigGrps, OrigGrps);
|