Defined in 3 files as a prototype:
Defined in 1 files as a macro:
Defined in 2 files as a function:
Referenced in 62 files:
- bin/sh/exec.c, line 431
- bin/sh/options.c, line 98
- bin/test/test.c, line 415
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_module.c, line 1375
- contrib/atf/atf-c/detail/fs_test.c, line 677
- contrib/capsicum-test/syscalls.h, line 88
- contrib/dma/dma-mbox-create.c
- contrib/kyua/utils/fs/operations_test.cpp
- contrib/libevent/evutil.c, line 2383
- contrib/llvm-project/lldb/source/Host/posix/HostInfoPosix.cpp, line 122
- contrib/ncurses/ncurses/tinfo/access.c, line 179
- contrib/netbsd-tests/kernel/t_sysv.c
- contrib/netbsd-tests/lib/libc/sys/t_msgget.c, line 157
- contrib/ntp/ntpd/ntpd.c, line 812
- contrib/ntp/sntp/libevent/evutil.c, line 2353
- contrib/openbsm/bin/auditdistd/sandbox.c, line 205
- contrib/openbsm/libauditd/auditd_lib.c, line 1076
- contrib/openbsm/libbsm/bsm_token.c
- contrib/openbsm/libbsm/bsm_wrappers.c
- contrib/openpam/lib/libpam/openpam_borrow_cred.c, line 85
- contrib/pf/authpf/authpf.c, line 297
- contrib/sendmail/libsm/mpeix.c
- contrib/sendmail/src/collect.c, line 1029
- contrib/sendmail/src/deliver.c
- contrib/sendmail/src/main.c
- contrib/sendmail/src/queue.c, line 4093
- contrib/sendmail/src/recipient.c
- contrib/sendmail/test/t_dropgid.c
- contrib/sendmail/test/t_setgid.c
- contrib/sendmail/vacation/vacation.c
- contrib/tcsh/sh.c, line 371
- contrib/tcsh/sh.types.h, line 113
- contrib/tcsh/tc.os.h, line 499
- crypto/heimdal/lib/roken/issuid.c, line 50
- crypto/openssh/uidswap.c
- crypto/openssl/crypto/uid.c, line 46
- lib/libc/rpc/auth_unix.c, line 201
- lib/libpam/modules/pam_krb5/pam_krb5.c, line 417
- lib/libpam/modules/pam_ssh/pam_ssh.c, line 300
- lib/libutil/login_cap.c, line 213
- libexec/rtld-elf/rtld.c, line 501
- sbin/ccdconfig/ccdconfig.c, line 291
- sys/contrib/openzfs/lib/libspl/include/unistd.h, line 36
- sys/security/audit/bsm_token.c
- tests/sys/fifo/fifo_misc.c, line 285
- tests/sys/fs/fusefs/default_permissions.cc
- tests/sys/kern/unix_socketpair_test.c, line 52
- tools/regression/security/cap_test/cap_test_capmode.c, line 146
- tools/regression/sockets/unix_cmsg/unix_cmsg.c, line 313
- tools/regression/sysvmsg/msgtest.c, line 263
- tools/regression/sysvsem/semtest.c, line 282
- tools/regression/sysvshm/shmtest.c, line 227
- usr.bin/at/privs.h
- usr.bin/id/id.c
- usr.bin/login/login.c, line 206
- usr.bin/login/login_audit.c
- usr.bin/newgrp/newgrp.c, line 159
- usr.bin/tip/tip/tip.c, line 78
- usr.bin/wall/wall.c, line 241
- usr.sbin/inetd/inetd.c, line 467
- usr.sbin/lpr/lpd/printjob.c, line 179
- usr.sbin/lpr/lpr/lpr.c, line 470