Searched refs:setregid (Results 1 - 21 of 21) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dsetrgid.c34 return (setregid(rgid, -1));
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dsetgid.c32 return (setregid(gid, gid));
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dsetegid.c32 return (setregid(-1, egid));
H A Dsetregid.c32 setregid(int gid, int egid) function
H A Dsyscall.c365 return (setregid(i1, i2));
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dsetgid.c35 return (setregid(gid, gid));
37 return (setregid(-1, gid));
/illumos-gate/usr/src/lib/libc/common/sys/
H A Dsetreid.s31 ANSI_PRAGMA_WEAK(setregid,function)
39 SYSCALL_RVAL1(setregid)
41 SET_SIZE(setregid)
/illumos-gate/usr/src/cmd/acctadm/
H A Dutils.c174 setregid(getgid(), getgid()) == -1)
175 die(gettext("setreuid()/setregid() failed"));
H A Dmain.c184 setregid(getgid(), getgid()) == -1)
185 die(gettext("setreuid()/setregid() failed"));
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dtest.c568 if(sh.groupid==sh.euserid || setregid(sh.egroupid,sh.groupid)==0)
578 setregid(sh.groupid,sh.egroupid);
582 setregid(sh.groupid,sh.egroupid);
/illumos-gate/usr/src/man/man2/
H A DMakefile124 setregid.2 \
/illumos-gate/usr/src/uts/common/syscall/
H A Dgid.c219 setregid(gid_t rgid, gid_t egid) function
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dsuid_exec.c347 setregid(rgroupid,group);
/illumos-gate/usr/src/cmd/power/
H A Dconf.c309 (void) setregid(0, 0);
/illumos-gate/usr/src/boot/include/
H A Dunistd.h456 int setregid(gid_t, gid_t);
/illumos-gate/usr/src/uts/common/os/
H A Dsysent.c214 int setregid(gid_t, gid_t);
676 /* 203 */ SYSENT_CI("setregid", setregid, 2),
1031 /* 203 */ SYSENT_CI("setregid", setregid, 2),
/illumos-gate/usr/src/head/
H A Dunistd.h507 extern int setregid(gid_t, gid_t);
/illumos-gate/usr/src/cmd/syseventd/modules/sysevent_conf_mod/
H A Dsysevent_conf_mod.c589 if (setregid(pwdp->pw_gid, -1) == -1) {
610 if (setregid(saved_gid, -1) == -1) {
/illumos-gate/usr/src/lib/libbc/sparc/
H A DMakefile80 setlocale.o setregid.o setreuid.o setrgid.o setruid.o sigfpe.o siglist.o\
/illumos-gate/usr/src/lib/librestart/common/
H A Dlibrestart.c3468 * EINVAL - gid or egid is out of range (setregid)
3473 * EPERM - insufficient privilege (setregid, initgroups, setgroups, setppriv,
3506 if (setregid(cip->gid,
3508 *fp = "setregid";
3536 if (setregid(cip->pwd.pw_gid,
3539 *fp = "setregid";
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dmain.c3754 if (setregid(RunAsGid, RunAsGid) < 0)
3756 syserr("drop_privileges: setregid(%d, %d) failed",

Completed in 75 milliseconds