Home
last modified time | relevance | path

Searched refs:setuid (Results 1 – 25 of 97) sorted by relevance

1234

/openbsd-src/regress/lib/libc/sys/
H A Dt_setuid.c54 ATF_REQUIRE(setuid(0) == -1); in ATF_TC_BODY()
68 ATF_REQUIRE(setuid(uid) == 0); in ATF_TC_BODY()
95 rv = setuid(pw->pw_uid); in ATF_TC_BODY()
H A Dt_kill.c172 if (setuid(cuid) < 0) in ATF_TC_BODY()
185 if (setuid(puid) != 0) in ATF_TC_BODY()
H A Dt_mkdir.c128 if (setuid(pw->pw_uid) != 0) in ATF_TC_BODY()
H A Dt_revoke.c153 if (setuid(pw->pw_uid) != 0) in ATF_TC_BODY()
H A Dt_chroot.c285 (void)setuid(pw->pw_uid); in ATF_TC_BODY()
H A Dt_msgsnd.c293 if (setuid(uid) != 0) in ATF_TC_BODY()
/openbsd-src/regress/sys/kern/setuid/
H A DMakefile14 DIR !?= mktemp -d -t regress-setuid-XXXXXXXXXX
29 REGRESS_TARGETS+= run-regress-setuid
54 BINFILES+= setuid
83 run-regress-setuid: install-setuid
84 cd ${DIR} && ${SUDO} ./setuid
H A Dsetuid.c35 if (setuid(pw->pw_uid) == -1) in main()
H A Dsetuid_child.c32 if (setuid(pw->pw_uid) == -1) in main()
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/t/
H A Dsource.t178 setuid => -u $test ? 1 : 0,
229 setuid => -u $test ? 1 : 0,
296 setuid => -u $symlink ? 1 : 0,
/openbsd-src/regress/sys/kern/
H A DMakefile21 SUBDIR+= setuid
/openbsd-src/usr.sbin/chroot/
H A Dchroot.c124 if (setuid(pwd->pw_uid) != 0) in main()
/openbsd-src/usr.bin/which/
H A Dwhich.c81 if (setuid(geteuid())) in main()
/openbsd-src/games/hack/
H A DREAD_ME68 If you #define SECURE in config.h then hack will not setuid(getuid())
69 before executing a chdir(). Hack will always do setuid(getuid()) with
/openbsd-src/libexec/rpc.rstatd/
H A Drstatd.c86 setuid(pw->pw_uid); in main()
/openbsd-src/lib/libc/net/
H A Drcmdsh.c120 if (setuid(pw->pw_uid)) { in rcmdsh()
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Parser/
H A DSource.pm212 setuid => $bool,
270 $file->{setuid} = -u _ ? 1 : 0;
/openbsd-src/usr.bin/chpass/
H A Dchpass.c180 setuid(0); in main()
/openbsd-src/lib/libc/sys/
H A DMakefile.inc73 settimeofday.o setuid.o shmat.o shmctl.o shmdt.o \
198 setresuid.2 setreuid.2 setsid.2 sendsyslog.2 setuid.2 shmat.2 \
/openbsd-src/lib/libc/hidden/
H A Dunistd.h152 PROTO_NORMAL(setuid);
/openbsd-src/usr.bin/passwd/
H A Dlocal_passwd.c133 setuid(0); in local_passwd()
/openbsd-src/regress/sys/kern/access/
H A Daccess.c132 else if (setuid(0)) in main()
/openbsd-src/usr.bin/vi/docs/USD.doc/vi.ref/
H A Dspell.ok292 setuid
/openbsd-src/gnu/usr.bin/perl/pod/
H A Dperl5241delta.pod20 C<PERLIO_DEBUG> environment variable if perl wasn't running setuid and the
31 If perl is running setuid or the B<-T> switch was supplied C<PERLIO_DEBUG> is
/openbsd-src/gnu/llvm/compiler-rt/lib/gwp_asan/
H A Doptions.inc76 // setuid ASan log_path exploits: https://www.exploit-db.com/exploits/46241.

1234