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

12345

/netbsd-current/external/gpl3/gdb/dist/sim/common/
H A Dportability.c63 int setuid(int uid) function
H A Dportability.h44 int setuid(int uid);
/netbsd-current/external/cddl/dtracetoolkit/dist/Bin/
H A Dsetuids.d3 * setuids.d - snoop setuid calls. This can examine user logins.
55 syscall::setuid:entry
65 syscall::setuid:return
77 syscall::setuid:return
/netbsd-current/external/cddl/dtracetoolkit/dist/User/
H A Dsetuids.d3 * setuids.d - snoop setuid calls. This can examine user logins.
55 syscall::setuid:entry
65 syscall::setuid:return
77 syscall::setuid:return
/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dset_ugid.c21 /* setuid(2), setgid(2), setgroups(2)
58 if (setuid(uid) < 0)
59 msg_fatal("setuid(%ld): %m", (long) uid);
H A Dchroot_uid.c80 if (setuid(uid) < 0)
81 msg_fatal("setuid(%ld): %m", (long) uid);
/netbsd-current/sbin/ping/
H A Dping_hostops.c52 .op_setuid = setuid,
H A Dprog_ops.h76 #define prog_setuid setuid
/netbsd-current/tests/lib/libc/sys/
H A Dt_setuid.c45 atf_tc_set_md_var(tc, "descr", "Test setuid(0) as normal user");
53 ATF_REQUIRE(setuid(0) == -1);
60 atf_tc_set_md_var(tc, "descr", "Test setuid(2) with real UID");
67 ATF_REQUIRE(setuid(uid) == 0);
76 atf_tc_set_md_var(tc, "descr", "A basic test of setuid(2)");
94 rv = setuid(pw->pw_uid);
H A Dt_issetugid.c135 if (check(setuid, NULL) != true)
H A Dt_mkdir.c130 if (setuid(pw->pw_uid) != 0)
H A Dt_revoke.c148 if (setuid(pw->pw_uid) != 0)
/netbsd-current/sbin/ping6/
H A Dping6_hostops.c54 .op_setuid = setuid,
H A Dprog_ops.h85 #define prog_setuid setuid
/netbsd-current/usr.sbin/rtadvd/
H A Drtadvd_hostops.c31 .op_setuid = setuid,
H A Dprog_ops.h74 #define prog_setuid setuid
/netbsd-current/libexec/rpc.rwalld/
H A Drwalld.c85 setuid(pep->pw_uid);
87 setuid(getuid());
/netbsd-current/external/bsd/atf/dist/tools/
H A Duser.cpp59 if (::setuid(ids.first) == -1)
/netbsd-current/share/man/man7/
H A DMakefile28 MAN+= setuid.7
/netbsd-current/tests/kernel/kqueue/
H A Dt_proc2.c69 if ((setuid(pwd->pw_uid)) == -1)
70 err(EXIT_FAILURE, "setuid(%d)", pwd->pw_uid);
/netbsd-current/external/bsd/openldap/dist/servers/slapd/
H A Duser.c159 if ( setuid( uid ) != 0 ) {
/netbsd-current/external/gpl2/gmake/dist/
H A Dmisc.c599 /* Hopefully if a system says it's POSIX.1 and has the setuid and setgid
622 extern int setuid (), setgid ();
700 group IDs are those of make (if it was installed setuid or setgid).
716 /* System V has only the setuid/setgid calls to set user/group IDs.
717 There is an effective ID, which can be set by setuid/setgid.
724 if (setuid (user_uid) < 0)
725 pfatal_with_name ("user_access: setuid");
731 at any one time. If you use setuid/setgid, the effective will be set to
782 if (setuid (make_uid) < 0)
783 pfatal_with_name ("make_access: setuid");
[all...]
/netbsd-current/usr.bin/whereis/
H A Dwhereis.c74 if (setuid(euid) == -1)
/netbsd-current/usr.sbin/chroot/
H A Dchroot.c183 if (user && setuid(uid) == -1)
184 err(1, "setuid");
/netbsd-current/crypto/external/bsd/heimdal/dist/kdc/
H A Dmain.c99 if (setuid(pw->pw_uid) < 0)
100 err(1, "setuid(%s)", runas_string);

Completed in 242 milliseconds

12345