Searched refs:setgid (Results 1 - 25 of 35) sorted by relevance

12

/osnet-11/usr/src/lib/libc/common/sys/
H A Dsetgid.s30 .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 Dcfext.h39 unsigned setgid:1; /* ... and/or setgid bit set */ member in struct:mergstat
H A Dpkgexecv.c429 if (setgid(grp->gr_gid) == -1) {
/osnet-11/usr/src/lib/libmail/common/
H A Dsystemvp.c58 (void) setgid(getgid());
H A Dpopenvp.c79 (void) setgid(getgid());
/osnet-11/usr/src/cmd/hal/hald/
H A Dutil_helper.c120 if (setgid (gr->gr_gid)) {
/osnet-11/usr/src/lib/libnsl/dial/
H A Ddial.c247 if (setuid(getuid()) && setgid(getgid()) < 0)
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dregress.c77 "[+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 Dsuid_exec.c215 if(effgid != rgroupid || setgid(rgroupid) < 0)
424 if((mode & S_ISGID) && setgid(group) < 0)
H A Dargs.c405 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 DXSUB.h334 # define setgid PerlProc_setgid macro
472 # define setgid PerlProc_setgid macro
/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dt-sem.c137 r = setgid(gid);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/POSIX/
H A DPOSIX.xs172 # undef setgid
174 # define setgid(a) not_here("setgid")
1840 setgid(gid)
H A DPOSIX.pm886 getpid getuid isatty lseek pathconf pause setgid setpgid
/osnet-11/usr/src/lib/libwrap/
H A Doptions.c268 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 Dprocopen.c638 setgid(getegid());
641 setgid(getgid());
/osnet-11/usr/src/lib/libc/port/gen/
H A Dprivlib.c509 if (gid != (gid_t)-1 && setgid(gid) != 0)
/osnet-11/usr/src/lib/libc/port/threads/
H A Dspawn.c166 if (setgid(getgid()) != 0 || setuid(getuid()) != 0)
/osnet-11/usr/src/cmd/sendmail/src/
H A Drecipient.c1535 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 Dmain.c3737 ** 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 Dmail.local.c174 * We then do setgid and setuid defore delivery
175 * setgid to mail group
178 (void) setgid(grpptr->gr_gid);
H A Dvacation.c938 setgid(getgid());
/osnet-11/usr/src/lib/libc/i386/
H A DMakefile.com254 setgid.o \
/osnet-11/usr/src/lib/libc/sparc/
H A DMakefile.com275 setgid.o \
/osnet-11/usr/src/lib/libc/sparcv9/
H A DMakefile.com260 setgid.o \

Completed in 249 milliseconds

12