Defined in 1 files as a prototype:
Defined in 3 files as a macro:
Defined in 2 files as a function:
Referenced in 47 files:
- cddl/compat/opensolaris/include/fcntl.h, line 38
- contrib/capsicum-test/capability-fd.cc
- contrib/capsicum-test/capmode.cc
- contrib/capsicum-test/capsicum-test.h
- contrib/capsicum-test/linux.cc, line 1369
- contrib/capsicum-test/openat.cc
- contrib/dma/dma-mbox-create.c, line 176
- contrib/file/src/seccomp.c, line 210
- contrib/lib9p/backend/fs.c
- contrib/libarchive/libarchive/archive_read_disk_posix.c
- contrib/libarchive/libarchive/archive_write_disk_posix.c, line 463
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
- contrib/mandoc/catman.c, line 132
- contrib/netbsd-tests/lib/libc/c063/t_o_search.c
- contrib/netbsd-tests/lib/libc/c063/t_openat.c
- contrib/openbsm/bin/auditdistd/receiver.c
- contrib/openbsm/bin/auditdistd/trail.c
- contrib/pjdfstest/pjdfstest.c
- contrib/tcpdump/tcpdump.c
- lib/libc/include/un-namespace.h, line 67
- lib/libc/sys/interposing_table.c, line 52
- lib/libc/sys/openat.c
- lib/libc/tests/gen/dir2_test.c
- lib/libthr/thread/thr_syscalls.c, line 659
- lib/libutil/flopen.c, line 74
- lib/libutil/pidfile.c, line 82
- libexec/rtld-elf/rtld-libc/un-namespace.h, line 36
- libexec/rtld-elf/tests/ld_library_pathfds.c
- sbin/savecore/savecore.c
- sys/contrib/openzfs/lib/libzfs/libzfs_mount.c, line 158
- sys/contrib/openzfs/tests/zfs-tests/tests/functional/cp_files/cp_files.c, line 43
- tests/sys/audit/open.c
- tests/sys/capsicum/bindat_connectat.c
- tests/sys/cddl/zfs/bin/mktree.c, line 181
- tests/sys/fs/fusefs/allow_other.cc, line 245
- tests/sys/vfs/lookup_cap_dotdot.c
- tools/regression/security/cap_test/cap_test_capabilities.c
- tools/regression/security/cap_test/cap_test_relative.c
- usr.bin/bsdiff/bspatch/bspatch.c, line 153
- usr.bin/rwho/rwho.c, line 147
- usr.bin/write/write.c, line 303
- usr.sbin/bsdinstall/partedit/gpart_ops.c, line 714
- usr.sbin/cpucontrol/cpucontrol.c, line 354
- usr.sbin/pw/cpdir.c
- usr.sbin/pw/pw_user.c
- usr.sbin/pw/rm_r.c, line 54
- usr.sbin/rwhod/rwhod.c, line 412