Searched refs:setegid (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dsetegid.c30 setegid(int egid) function
/illumos-gate/usr/src/lib/libc/common/sys/
H A Dseteguid.s32 /* C library -- setegid, seteuid */
33 /* int setegid (gid_t gid) */
37 SYSCALL_RVAL1(setegid)
39 SET_SIZE(setegid)
/illumos-gate/usr/src/cmd/mail/
H A Dmkdead.c79 setegid(egid);
100 setegid(egid);
H A Dprintmail.c113 (void) setegid(getgid());
115 (void) setegid(savedegid);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpassprompt.c69 (void) setegid(getgid());
/illumos-gate/usr/src/man/man2/
H A DMakefile240 setegid.2 \
379 setegid.2 := LINKSRC = setuid.2
/illumos-gate/usr/src/lib/libsocket/inet/
H A Drcmd.c611 (void) setegid(pwd->pw_gid);
616 (void) setegid(gid);
626 (void) setegid(gid);
636 (void) setegid(gid);
645 (void) setegid(gid);
/illumos-gate/usr/src/cmd/sysdef/
H A Dsysdef.c209 setegid(getgid());
266 setegid(egid);
271 setegid(getgid());
522 setegid(egid);
524 setegid(getgid());
/illumos-gate/usr/src/cmd/acctadm/
H A Dutils.c145 if (seteuid(0) == -1 || setegid(0) == -1) {
146 warn(gettext("seteuid()/setegid() failed"));
H A Dmain.c71 if (seteuid(getuid()) == -1 || setegid(getgid()) == -1)
72 die(gettext("seteuid()/setegid() failed"));
/illumos-gate/usr/src/cmd/tip/
H A Dtip.c286 (void) setegid(gid);
297 (void) setegid(egid);
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dinit.c50 (void) setegid(DAEMON_GID);
57 (void) setegid(0);
/illumos-gate/usr/src/uts/common/syscall/
H A Dgid.c144 setegid(gid_t gid) function
214 * Like setgid() and setegid() combined -except- that non-root users
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_main.c431 if (setegid(GID_NETADM) == -1 || seteuid(UID_DLADM) == -1)
/illumos-gate/usr/src/boot/include/
H A Dunistd.h409 int setegid(gid_t);
/illumos-gate/usr/src/uts/common/os/
H A Dsysent.c210 int setegid(gid_t);
601 /* 136 */ SYSENT_CI("setegid", setegid, 1),
962 /* 136 */ SYSENT_CI("setegid", setegid, 1),
/illumos-gate/usr/src/head/
H A Dunistd.h496 extern int setegid(gid_t);
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Ddisp1.c178 if (setegid(md->gid) != 0) {
200 if (setegid(org_gid) != 0) {
203 note("setegid back to uid=%d "
/illumos-gate/usr/src/lib/libbc/sparc/
H A DMakefile136 setgid.o _stat.o seteuid.o setegid.o signalmap.o syscall.o \
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dmain.c3746 if (setegid(RunAsGid) < 0)
3748 syserr("drop_privileges: setegid(%d) failed",

Completed in 111 milliseconds