Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Referenced in 93 files:
- bin/sh/options.c, line 290
- contrib/apr/threadproc/unix/proc.c, line 488
- contrib/capsicum-test/capability-fd.cc, line 1292
- contrib/capsicum-test/capmode.cc, line 271
- contrib/capsicum-test/procdesc.cc, line 534
- contrib/dma/dma.c, line 448
- contrib/ipfilter/tools/ipfstat.c
- contrib/ipfilter/tools/ipnat.c
- contrib/kyua/utils/process/isolation.cpp, line 167
- contrib/libpcap/rpcapd/daemon.c, line 1301
- contrib/netbsd-tests/kernel/kqueue/t_proc2.c, line 69
- contrib/netbsd-tests/lib/libc/sys/t_chroot.c, line 285
- contrib/netbsd-tests/lib/libc/sys/t_issetugid.c, line 135
- contrib/netbsd-tests/lib/libc/sys/t_kill.c
- contrib/netbsd-tests/lib/libc/sys/t_mkdir.c, line 130
- contrib/netbsd-tests/lib/libc/sys/t_msgctl.c, line 135
- contrib/netbsd-tests/lib/libc/sys/t_msgsnd.c, line 316
- contrib/netbsd-tests/lib/libc/sys/t_revoke.c, line 157
- contrib/netbsd-tests/lib/libc/sys/t_setuid.c
- contrib/ntp/ntpd/ntpd.c, line 783
- contrib/openbsm/bin/auditdistd/sandbox.c, line 170
- contrib/openpam/bin/su/su.c, line 168
- contrib/opie/opielogin.c, line 1312
- contrib/opie/opiesu.c, line 466
- contrib/pjdfstest/pjdfstest.c, line 1279
- contrib/sendmail/libsm/mpeix.c
- contrib/sendmail/libsm/t-sem.c, line 140
- contrib/sendmail/src/deliver.c
- contrib/sendmail/src/main.c
- contrib/sendmail/src/util.c, line 2133
- contrib/sendmail/test/t_setuid.c
- contrib/tcp_wrappers/options.c, line 286
- contrib/tcp_wrappers/safe_finger.c
- contrib/tcpdump/tcpdump.c
- contrib/telnet/telnet/commands.c
- contrib/traceroute/traceroute.c, line 555
- contrib/unbound/daemon/unbound.c, line 621
- contrib/wpa/src/utils/os_unix.c, line 379
- crypto/heimdal/appl/kf/kfd.c, line 230
- crypto/heimdal/appl/login/login.c
- crypto/heimdal/appl/rsh/rsh.c
- crypto/heimdal/appl/rsh/rshd.c, line 771
- crypto/heimdal/appl/su/su.c
- crypto/heimdal/kdc/main.c, line 88
- crypto/openssh/auth-sia.c, line 111
- crypto/openssh/openbsd-compat/bsd-setres_id.c, line 89
- crypto/openssh/ssh-agent.c, line 1116
- crypto/openssh/uidswap.c
- lib/libc/net/rcmdsh.c, line 134
- lib/libpam/modules/pam_ssh/pam_ssh.c, line 301
- lib/libutil/login_class.c, line 538
- lib/libutil/pw_util.c, line 313
- libexec/atrun/atrun.c
- libexec/comsat/comsat.c, line 231
- libexec/ftpd/popen.c, line 144
- libexec/rpc.rwalld/rwalld.c
- libexec/tftpd/tftpd.c, line 384
- sbin/dhclient/dhclient.c, line 556
- sbin/dump/main.c, line 324
- sbin/hastd/subr.c, line 224
- sbin/ping/ping.c, line 285
- sbin/ping6/ping6.c, line 765
- sbin/restore/tape.c, line 171
- sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c
- sys/contrib/openzfs/tests/zfs-tests/cmd/chg_usr_exec/chg_usr_exec.c, line 66
- sys/contrib/openzfs/tests/zfs-tests/cmd/user_ns_exec/user_ns_exec.c, line 65
- sys/contrib/openzfs/tests/zfs-tests/tests/functional/suid/suid_write_to_file.c, line 74
- tests/sys/audit/process-control.c, line 517
- tests/sys/cddl/zfs/bin/chg_usr_exec.c, line 67
- tools/regression/priv/main.c, line 434
- tools/regression/priv/priv_cred.c, line 62
- tools/regression/security/cap_test/cap_test_capmode.c, line 125
- tools/tools/syscall_timing/syscall_timing.c
- usr.bin/finger/finger.c
- usr.bin/lock/lock.c, line 142
- usr.bin/msgs/msgs.c, line 180
- usr.bin/newgrp/newgrp.c, line 112
- usr.sbin/bluetooth/sdpd/main.c, line 200
- usr.sbin/chroot/chroot.c, line 163
- usr.sbin/cron/cron/do_command.c, line 331
- usr.sbin/cron/cron/popen.c, line 188
- usr.sbin/cron/crontab/crontab.c, line 408
- usr.sbin/cron/lib/misc.c, line 182
- usr.sbin/edquota/edquota.c, line 458
- usr.sbin/inetd/inetd.c, line 874
- usr.sbin/lpr/lpd/printjob.c, line 1679
- usr.sbin/ppp/bundle.c, line 1814
- usr.sbin/ppp/chap.c, line 319
- usr.sbin/ppp/chat.c, line 753
- usr.sbin/ppp/command.c, line 675
- usr.sbin/ppp/exec.c, line 301
- usr.sbin/rpcbind/rpcbind.c, line 242
- usr.sbin/rwhod/rwhod.c, line 272