Defined in 4 files as a prototype:
Defined in 2 files as a macro:
Defined in 2 files as a function:
Referenced in 69 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/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/tools/lldb/source/Host/posix/HostInfoPosix.cpp, line 116
- contrib/llvm/tools/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp, line 139
- contrib/llvm/tools/lldb/source/Plugins/Process/Darwin/DarwinProcessLauncher.cpp, line 172
- contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp, line 880
- contrib/ncurses/ncurses/tinfo/access.c, line 186
- 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 126
- contrib/sendmail/praliases/praliases.c, line 76
- contrib/sendmail/src/deliver.c
- contrib/sendmail/src/main.c
- contrib/sendmail/src/recipient.c, line 1700
- 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 371
- 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 117
- lib/libutil/pw_util.c, line 311
- release/picobsd/tinyware/passwd/pw_util.c, line 212
- sbin/bsdlabel/bsdlabel.c, line 717
- sbin/ccdconfig/ccdconfig.c, line 292
- 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 76
- 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