/osnet-11/usr/src/lib/libc/common/sys/ |
H A D | setgid.s | 30 .file "setgid.s" 32 /* C library -- setgid */ 33 /* int setgid(gid_t gid); */ 37 ANSI_PRAGMA_WEAK(setgid,function) 41 SYSCALL_RVAL1(setgid) 43 SET_SIZE(setgid)
|
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | cfext.h | 39 unsigned setgid:1; /* ... and/or setgid bit set */ member in struct:mergstat
|
H A D | pkgexecv.c | 429 if (setgid(grp->gr_gid) == -1) {
|
/osnet-11/usr/src/lib/libmail/common/ |
H A D | systemvp.c | 58 (void) setgid(getgid());
|
H A D | popenvp.c | 79 (void) setgid(getgid());
|
/osnet-11/usr/src/cmd/hal/hald/ |
H A D | util_helper.c | 120 if (setgid (gr->gr_gid)) {
|
/osnet-11/usr/src/lib/libnsl/dial/ |
H A D | dial.c | 247 if (setuid(getuid()) && setgid(getgid()) < 0)
|
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | regress.c | 77 "[+setgid(gid)?Sets the intercept effective gid to \agid\a. " 168 int setgid(gid_t gid) function 176 TRACE(egid, "setgid", ("%s", "EPERM")); 181 TRACE(egid, "setgid", ("%s", intercept_egid == intercept_rgid ? "egid==rgid" : "egid!=rgid"));
|
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | suid_exec.c | 215 if(effgid != rgroupid || setgid(rgroupid) < 0) 424 if((mode & S_ISGID) && setgid(group) < 0)
|
H A D | args.c | 405 setgid(shp->gd->groupid); 413 (shp->gd->groupid!=shp->gd->egroupid && setgid(shp->gd->egroupid)<0) ||
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | XSUB.h | 334 # define setgid PerlProc_setgid macro 472 # define setgid PerlProc_setgid macro
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | t-sem.c | 137 r = setgid(gid);
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/POSIX/ |
H A D | POSIX.xs | 172 # undef setgid 174 # define setgid(a) not_here("setgid") 1840 setgid(gid)
|
H A D | POSIX.pm | 886 getpid getuid isatty lseek pathconf pause setgid setpgid
|
/osnet-11/usr/src/lib/libwrap/ |
H A D | options.c | 268 if (dry_run == 0 && setgid(grp->gr_gid)) 269 tcpd_jump("setgid(%s): %m", value);
|
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | procopen.c | 638 setgid(getegid()); 641 setgid(getgid());
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | privlib.c | 509 if (gid != (gid_t)-1 && setgid(gid) != 0)
|
/osnet-11/usr/src/lib/libc/port/threads/ |
H A D | spawn.c | 166 if (setgid(getgid()) != 0 || setuid(getuid()) != 0)
|
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | recipient.c | 1535 if (gid != 0 && setgid(gid) < -1) 1538 syserr("setgid(%d) failure", gid); 1700 if (setgid(savedgid) < 0) 1701 syserr("!setgid(%d) failure (real=%d eff=%d)",
|
H A D | main.c | 3737 ** and then use setgid() to finally drop all group privileges. 3771 if (setgid(RunAsGid) < 0 && (!UseMSP || getegid() != RunAsGid)) 3773 syserr("drop_privileges: setgid(%d) failed", 3864 if (setgid(EffGid) == 0) 3866 syserr("drop_privileges: setgid(%d) succeeded (when it should not)",
|
/osnet-11/usr/src/cmd/sendmail/aux/ |
H A D | mail.local.c | 174 * We then do setgid and setuid defore delivery 175 * setgid to mail group 178 (void) setgid(grpptr->gr_gid);
|
H A D | vacation.c | 938 setgid(getgid());
|
/osnet-11/usr/src/lib/libc/i386/ |
H A D | Makefile.com | 254 setgid.o \
|
/osnet-11/usr/src/lib/libc/sparc/ |
H A D | Makefile.com | 275 setgid.o \
|
/osnet-11/usr/src/lib/libc/sparcv9/ |
H A D | Makefile.com | 260 setgid.o \
|