Searched refs:setuid (Results 1 - 25 of 117) sorted by relevance

12345

/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dsetuid.c30 setuid(int uid) function
/illumos-gate/usr/src/lib/libc/common/sys/
H A Dsetuid.s30 .file "setuid.s"
32 /* C library -- setuid */
33 /* int setuid (uid_t uid); */
37 ANSI_PRAGMA_WEAK(setuid,function)
41 SYSCALL_RVAL1(setuid)
43 SET_SIZE(setuid)
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dsetuid.c30 setuid(int uid) function
/illumos-gate/usr/src/cmd/bnu/
H A Dgwd.c54 (void) setuid(Uid);
56 (void) setuid(Euid);
92 (void) setuid(Uid);
94 (void) setuid(Euid);
100 (void) setuid(Uid);
H A Dxqt.c54 (void) setuid(geteuid());
130 (void) setuid(geteuid());
H A Dcpmv.c193 * a bug in setuid.
215 (void) setuid(Uid);
217 (void) setuid(Euid);
223 setuid(Uid);
H A Ddial.c156 (void)setuid(Euid);
250 if(setuid(getuid()) && setgid(getgid()) < 0)
/illumos-gate/usr/src/lib/libast/common/preroot/
H A Dispreroot.c51 if ((ruid = getuid()) != (euid = geteuid())) setuid(ruid);
53 if (ruid != euid) setuid(euid);
H A Dgetpreroot.c82 if ((ruid = getuid()) != (euid = geteuid())) setuid(ruid);
115 if (ruid != euid) setuid(euid);
156 if (ruid != euid) setuid(euid);
/illumos-gate/usr/src/lib/libpkg/common/
H A Dcfext.h38 unsigned setuid:1; /* pkgmap entry has setuid */ member in struct:mergstat
/illumos-gate/usr/src/lib/libmail/common/
H A Dsystemvp.c59 (void) setuid(getuid());
/illumos-gate/usr/src/cmd/mail/
H A Dpipletr.c80 setuid(my_uid);
/illumos-gate/usr/src/test/zfs-tests/cmd/chg_usr_exec/
H A Dchg_usr_exec.c66 if (setuid(ppw->pw_uid) != 0) {
67 perror("setuid");
/illumos-gate/usr/src/test/zfs-tests/tests/functional/delegate/
H A Dzfs_allow_012_neg.ksh60 devices exec volsize setuid readonly snapdir userprop \
H A Dzfs_allow_010_pos.ksh71 setuid true false \
/illumos-gate/usr/src/lib/libnsl/dial/
H A Ddial.c150 (void) setuid(Euid);
247 if (setuid(getuid()) && setgid(getgid()) < 0)
/illumos-gate/usr/src/cmd/tcpd/
H A Dsafe_finger.c70 setuid(pwd->pw_uid);
73 setuid(UNPRIV_UGID);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_get/
H A Dzfs_get_002_pos.ksh52 sharenfs checksum compression atime devices exec readonly setuid zoned \
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dunistd.h146 extern int setuid(uid_t);
/illumos-gate/usr/src/cmd/acct/
H A Daccton.c61 if (setuid(ROOT) == ERR) {
62 perror("cannot setuid (check command mode and owner)");
/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssd_getuid.c99 * Switch uid and set the saved set-uid to 0 so setuid(0) will work
102 if (setuid(0) != 0 ||
/illumos-gate/usr/src/cmd/lms/tools/
H A Ddaemonize.cpp75 setuid(pw->pw_uid);
/illumos-gate/usr/src/cmd/svr4pkg/hdrs/
H A Dinstall.h93 char *setuid; member in struct:admin
/illumos-gate/usr/src/man/man2/
H A DMakefile128 setuid.2 \
379 setegid.2 := LINKSRC = setuid.2
380 seteuid.2 := LINKSRC = setuid.2
381 setgid.2 := LINKSRC = setuid.2
/illumos-gate/usr/src/cmd/rexd/
H A Dunder.c171 setuid(getuid());
202 setuid(getuid());

Completed in 169 milliseconds

12345