Defined in 3 files as a prototype:
Defined in 2 files as a macro:
Defined in 2 files as a function:
Referenced in 73 files:
- bin/ps/ps.c, line 277
- bin/sh/options.c
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c, line 1377
- contrib/apr/user/unix/userinfo.c, line 96
- contrib/binutils/bfd/archive.c
- contrib/capsicum-test/capmode.cc, line 237
- contrib/capsicum-test/syscalls.h, line 89
- contrib/gdb/gdb/remote-fileio.c, line 1133
- contrib/ipfilter/tools/ipfstat.c
- contrib/ipfilter/tools/ipnat.c
- contrib/kyua/utils/passwd_test.cpp
- contrib/kyua/utils/process/isolation.cpp
- contrib/kyua/utils/process/isolation_test.cpp
- contrib/libarchive/libarchive/archive_write_set_format_iso9660.c
- contrib/libarchive/libarchive/test/test_write_disk_perms.c
- contrib/libevent/evutil.c, line 2383
- contrib/llvm-project/lldb/source/Host/posix/HostInfoPosix.cpp, line 118
- contrib/llvm-project/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp, line 139
- contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp, line 861
- contrib/ncurses/ncurses/tinfo/access.c, line 179
- contrib/netbsd-tests/lib/libc/sys/t_getgroups.c, line 76
- contrib/netbsd-tests/lib/libc/sys/t_msgctl.c
- contrib/netbsd-tests/lib/libc/sys/t_stat.c, line 255
- contrib/ntp/sntp/libevent/evutil.c, line 2353
- contrib/openbsm/bin/auditd/auditd.c, line 824
- contrib/openbsm/bin/auditdistd/sandbox.c, line 204
- contrib/openbsm/libauditd/auditd_lib.c
- contrib/openbsm/libbsm/bsm_token.c
- contrib/openbsm/libbsm/bsm_wrappers.c
- contrib/pf/authpf/authpf.c, line 805
- contrib/sendmail/editmap/editmap.c, line 120
- contrib/sendmail/libsm/mpeix.c, line 572
- contrib/sendmail/libsm/t-shm.c
- contrib/sendmail/makemap/makemap.c, line 302
- contrib/sendmail/praliases/praliases.c, line 76
- contrib/sendmail/src/deliver.c
- contrib/sendmail/src/main.c
- contrib/sendmail/src/recipient.c, line 1705
- contrib/sendmail/test/t_dropgid.c
- contrib/sendmail/test/t_setgid.c
- contrib/sendmail/vacation/vacation.c
- contrib/tcpdump/tcpdump.c
- contrib/tcsh/sh.c, line 369
- crypto/heimdal/lib/roken/getegid.c, line 43
- crypto/heimdal/lib/roken/issuid.c, line 50
- crypto/openssh/openbsd-compat/bsd-getpeereid.c, line 67
- crypto/openssh/ssh-agent.c
- crypto/openssh/uidswap.c
- crypto/openssl/crypto/uid.c, line 46
- lib/libc/gen/posix_spawn.c, line 118
- lib/libutil/pw_util.c, line 311
- sbin/bsdlabel/bsdlabel.c, line 684
- sbin/ccdconfig/ccdconfig.c, line 292
- sys/contrib/openzfs/tests/zfs-tests/cmd/mkfile/mkfile.c, line 142
- sys/contrib/openzfs/tests/zfs-tests/cmd/mkfiles/mkfiles.c, line 58
- sys/contrib/openzfs/tests/zfs-tests/tests/functional/ctime/ctime.c
- sys/security/audit/bsm_token.c
- tests/sys/cddl/zfs/tests/ctime/ctime_001_pos.c
- tools/regression/security/cap_test/cap_test_capmode.c, line 148
- tools/regression/sockets/unix_cmsg/unix_cmsg.c, line 312
- usr.bin/at/privs.h, line 76
- usr.bin/bluetooth/btsockstat/btsockstat.c
- usr.bin/chpass/edit.c, line 195
- usr.bin/id/id.c
- usr.bin/netstat/main.c
- usr.bin/quota/quota.c, line 157
- usr.bin/tip/tip/tip.c, line 77
- usr.bin/wall/wall.c, line 242
- usr.sbin/bluetooth/sdpd/main.c, line 162
- usr.sbin/cron/crontab/crontab.c
- usr.sbin/edquota/edquota.c
- usr.sbin/lpr/lpr/lpr.c, line 310
- usr.sbin/trpt/trpt.c