Defined in 4 files as a macro:
Defined in 1 files as a function:
Referenced in 234 files:
- contrib/binutils/libiberty/strerror.c, 2 times
- contrib/capsicum-test/fcntl.cc, line 37
- contrib/capsicum-test/linux.cc, 4 times
- contrib/capsicum-test/mqueue.cc, line 36
- contrib/dma/dma-mbox-create.c, line 166
- contrib/gdb/gdb/go32-nat.c, line 1961
- contrib/gdb/gdb/lin-lwp.c, line 583
- contrib/gdb/gdb/remote-fileio.c, line 254
- contrib/ldns/compat/inet_ntop.c, line 72
- contrib/ldns/compat/inet_pton.c, line 76
- contrib/lib9p/request.c, 25 times
- contrib/libarchive/libarchive/archive_read_disk_entry_from_file.c, line 570
- contrib/libarchive/libarchive/archive_string.c, line 855
- contrib/libarchive/libarchive/archive_write_disk_posix.c, 3 times
- contrib/libarchive/libarchive/test/test_acl_platform_posix1e.c, 2 times
- contrib/libarchive/tar/test/test_option_acls.c, 3 times
- contrib/libevent/epoll.c, 2 times
- contrib/libevent/evutil.c, line 2567
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp, line 2249
- contrib/llvm-project/libcxx/include/errno.h, line 271
- contrib/llvm-project/openmp/runtime/src/z_Linux_util.cpp, 4 times
- contrib/netbsd-tests/include/t_errno.c, line 517
- contrib/netbsd-tests/lib/libc/c063/t_fexecve.c, line 69
- contrib/netbsd-tests/lib/libc/regex/t_regex_att.c, line 287
- contrib/netbsd-tests/modules/t_modctl.c, line 74
- contrib/ntp/sntp/libevent/epoll.c, 2 times
- contrib/ntp/sntp/libevent/evutil.c, line 2537
- contrib/ntp/util/ntp-keygen.c, line 236
- contrib/ntp/util/ntptime.c, 4 times
- contrib/ofed/infiniband-diags/src/rdma-ndd.c, line 171
- contrib/ofed/libcxgb4/verbs.c, 5 times
- contrib/ofed/libibverbs/cmd.c, 5 times
- contrib/ofed/libibverbs/driver.h, line 320
- contrib/ofed/libibverbs/init.c, 3 times
- contrib/ofed/libibverbs/memory.c, line 160
- contrib/ofed/libibverbs/verbs.c, 3 times
- contrib/ofed/libibverbs/verbs.h, 16 times
- contrib/ofed/libmlx5/qp.c, line 710
- contrib/ofed/libmlx5/verbs.c, 2 times
- contrib/ofed/librdmacm/rsocket.c, line 3412
- contrib/openbsm/bin/auditd/auditd_darwin.c, line 182
- contrib/openbsm/bin/auditd/auditd_fbsd.c, line 137
- contrib/openbsm/bin/auditreduce/auditreduce.c, 2 times
- contrib/openbsm/bin/praudit/praudit.c, 2 times
- contrib/openbsm/libauditd/auditd_lib.c, line 278
- contrib/openbsm/libbsm/bsm_audit.c, line 239
- contrib/openbsm/libbsm/bsm_errno.c, line 402
- contrib/openbsm/libbsm/bsm_notify.c, 3 times
- contrib/openbsm/libbsm/bsm_token.c, 2 times
- contrib/openbsm/libbsm/bsm_wrappers.c, 2 times
- contrib/pjdfstest/pjdfstest.c, 2 times
- contrib/sendmail/libsm/mpeix.c, line 51
- contrib/sendmail/src/map.c, 2 times
- contrib/tcpdump/tcpdump.c, 9 times
- contrib/traceroute/traceroute.c, line 1027
- contrib/unbound/compat/arc4random.c, line 184
- contrib/unbound/compat/inet_ntop.c, line 72
- contrib/unbound/compat/inet_pton.c, line 76
- contrib/unbound/services/listen_dnsport.c, line 267
- contrib/unbound/smallapp/unbound-control.c, line 878
- contrib/wpa/src/crypto/random.c, 2 times
- crypto/heimdal/lib/kafs/afssys.c, 2 times
- crypto/openssh/openbsd-compat/bsd-flock.c, line 76
- crypto/openssh/openbsd-compat/bsd-misc.c, line 307
- crypto/openssh/openbsd-compat/bsd-setres_id.c, 2 times
- crypto/openssh/openbsd-compat/bsd-statvfs.c, 2 times
- crypto/openssh/regress/setuid-allowed.c, line 50
- crypto/openssh/sandbox-capsicum.c, 6 times
- crypto/openssh/sftp-server.c, 2 times
- crypto/openssl/apps/ocsp.c, 2 times
- crypto/openssl/apps/rehash.c, 2 times
- crypto/openssl/crypto/mem_sec.c, line 477
- crypto/openssl/crypto/rand/rand_unix.c, 2 times
- lib/libc/aarch64/sys/__vdso_gettc.c, line 64
- lib/libc/arm/sys/__vdso_gettc.c, 2 times
- lib/libc/gen/_pthread_stubs.c, line 313
- lib/libc/gen/auxv.c, line 256
- lib/libc/gen/cap_sandboxed.c, line 47
- lib/libc/posix1e/acl_copy.c, 2 times
- lib/libc/powerpc/sys/__vdso_gettc.c, line 52
- lib/libc/powerpc64/sys/__vdso_gettc.c, line 52
- lib/libc/stdlib/atexit.c, line 156
- lib/libc/sys/__vdso_gettimeofday.c, 7 times
- lib/libc/sys/clock_gettime.c, 2 times
- lib/libc/sys/compat-stub.c, line 51
- lib/libc/sys/gettimeofday.c, line 47
- lib/libc/sys/trivial-vdso_tc.c, 2 times
- lib/libc/x86/sys/__vdso_gettc.c, 5 times
- lib/libcapsicum/capsicum_helpers.h, 7 times
- lib/libcasper/services/cap_fileargs/cap_fileargs.c, line 490
- lib/libifconfig/libifconfig.c, line 567
- lib/libsysdecode/errno.c, line 97
- lib/libutil/pidfile.c, 2 times
- lib/libveriexec/veriexec_check.c, 2 times
- stand/common/vdisk.c, 2 times
- stand/efi/libefi/efipart.c, line 1028
- stand/efi/loader/arch/arm64/exec.c, line 142
- stand/libsa/zfs/zfs.c, line 1539
- stand/userboot/userboot/host.c, line 160
- sys/amd64/cloudabi32/cloudabi32_sysvec.c, line 105
- sys/amd64/cloudabi64/cloudabi64_sysvec.c, line 102
- sys/arm/cloudabi32/cloudabi32_sysvec.c, line 82
- sys/arm64/cloudabi32/cloudabi32_sysvec.c, line 79
- sys/arm64/cloudabi64/cloudabi64_sysvec.c, line 82
- sys/compat/cloudabi/cloudabi_errno.c, line 92
- sys/compat/freebsd32/freebsd32_capability.c, 2 times
- sys/compat/linux/linux_file.c, line 1869
- sys/compat/linux/linux_futex.c, 16 times
- sys/compat/linux/linux_misc.c, line 1755
- sys/compat/linux/linux_socket.c, line 2180
- sys/compat/linux/linux_timer.c, line 72
- sys/compat/linux/linux_util.h, 2 times
- sys/contrib/alpine-hal/al_hal_pcie.c, 4 times
- sys/contrib/libsodium/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c, 10 times
- sys/contrib/libsodium/src/libsodium/sodium/utils.c, 7 times
- sys/contrib/ncsw/inc/error_ext.h, line 132
- sys/contrib/openzfs/include/sys/zfs_context.h, line 237
- sys/contrib/openzfs/lib/libefi/rdwr_efi.c, line 1607
- sys/contrib/openzfs/lib/libzfs/libzfs_dataset.c, 2 times
- sys/contrib/openzfs/module/os/freebsd/zfs/zfs_acl.c, 2 times
- sys/contrib/openzfs/module/os/linux/zfs/zfs_acl.c, 2 times
- sys/contrib/openzfs/module/os/linux/zfs/zpl_xattr.c, line 1037
- sys/contrib/openzfs/module/zfs/zfs_ioctl.c, line 5937
- sys/dev/beri/virtio/virtio_block.c, 2 times
- sys/dev/bnxt/bnxt_hwrm.c, line 72
- sys/dev/bnxt/bnxt_txrx.c, line 675
- sys/dev/cxgbe/cxgbei/cxgbei.c, line 504
- sys/dev/cxgbe/iw_cxgbe/cq.c, line 1040
- sys/dev/cxgbe/iw_cxgbe/device.c, 2 times
- sys/dev/cxgbe/iw_cxgbe/provider.c, 6 times
- sys/dev/cxgbe/tom/t4_connect.c, line 259
- sys/dev/drm2/drm_crtc.c, 5 times
- sys/dev/efidev/efirt.c, line 75
- sys/dev/hwpmc/hwpmc_mod.c, 3 times
- sys/dev/ice/ice_iflib_recovery_txrx.c, 2 times
- sys/dev/ice/ice_lib.c, 2 times
- sys/dev/ice/ice_strings.c, line 541
- sys/dev/ice/if_ice_iflib.c, 4 times
- sys/dev/ixl/i40e_adminq.h, line 142
- sys/dev/ixl/ixl_pf_iov.c, line 1603
- sys/dev/mlx4/mlx4_core/mlx4_fw.c, line 680
- sys/dev/mlx4/mlx4_core/mlx4_main.c, 3 times
- sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c, line 1398
- sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c, line 1260
- sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c, line 1180
- sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c, 2 times
- sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c, 2 times
- sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c, 7 times
- sys/dev/mthca/mthca_av.c, line 299
- sys/dev/mthca/mthca_provider.c, 2 times
- sys/dev/mxge/if_mxge.c, 2 times
- sys/dev/qlnx/qlnxr/qlnxr_verbs.c, 2 times
- sys/dev/watchdog/watchdog.c, line 221
- sys/dev/xen/gntdev/gntdev.c, line 1052
- sys/dev/xen/grant_table/grant_table.c, line 552
- sys/dev/xen/privcmd/privcmd.c, line 372
- sys/fs/fuse/fuse_device.c, line 549
- sys/fs/fuse/fuse_internal.c, 3 times
- sys/fs/fuse/fuse_ipc.c, line 166
- sys/fs/fuse/fuse_vnops.c, 7 times
- sys/geom/part/g_part.c, 3 times
- sys/geom/part/g_part_ldm.c, 6 times
- sys/i386/cloudabi32/cloudabi32_sysvec.c, line 100
- sys/i386/linux/linux_machdep.c, 8 times
- sys/kern/kern_exec.c, line 288
- sys/kern/kern_ffclock.c, 3 times
- sys/kern/kern_ktrace.c, 2 times
- sys/kern/kern_linker.c, line 487
- sys/kern/kern_prot.c, line 1267
- sys/kern/kern_rctl.c, 10 times
- sys/kern/kern_sig.c, 2 times
- sys/kern/kern_syscalls.c, line 93
- sys/kern/kern_xxx.c, line 109
- sys/kern/link_elf.c, 2 times
- sys/kern/link_elf_obj.c, line 723
- sys/kern/p1003_1b.c, line 73
- sys/kern/sys_capability.c, 8 times
- sys/kern/sysv_msg.c, 4 times
- sys/kern/sysv_sem.c, 3 times
- sys/kern/sysv_shm.c, 5 times
- sys/mips/mips/machdep.c, 2 times
- sys/net80211/ieee80211_dfs.c, line 96
- sys/net80211/ieee80211_hwmp.c, 4 times
- sys/net80211/ieee80211_ioctl.c, 4 times
- sys/net80211/ieee80211_mesh.c, 6 times
- sys/net80211/ieee80211_superg.c, 2 times
- sys/net80211/ieee80211_tdma.c, 4 times
- sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c, line 2964
- sys/netgraph/ng_base.c, 2 times
- sys/netinet6/send.c, line 169
- sys/ofed/drivers/infiniband/core/ib_cma.c, 7 times
- sys/ofed/drivers/infiniband/core/ib_device.c, 2 times
- sys/ofed/drivers/infiniband/core/ib_fmr_pool.c, line 231
- sys/ofed/drivers/infiniband/core/ib_ucma.c, 5 times
- sys/ofed/drivers/infiniband/core/ib_uverbs_main.c, 2 times
- sys/ofed/drivers/infiniband/core/ib_verbs.c, 23 times
- sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h, line 659
- sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_cm.c, line 1365
- sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ethtool.c, line 94
- sys/ofed/include/rdma/ib_verbs.h, line 2938
- sys/powerpc/mpc85xx/lbc.c, line 331
- sys/powerpc/powerpc/exec_machdep.c, 2 times
- sys/security/audit/audit_syscalls.c, 24 times
- sys/security/audit/bsm_errno.c, line 406
- sys/security/audit/bsm_token.c, 2 times
- sys/security/mac/mac_syscalls.c, 11 times
- sys/vm/vm_unix.c, line 85
- sys/xen/error.h, line 64
- sys/xen/interface/errno.h, line 61
- sys/xen/interface/io/xs_wire.h, line 84
- tests/sys/audit/administrative.c, 6 times
- tests/sys/fs/fusefs/access.cc, line 175
- tests/sys/fs/fusefs/bmap.cc, line 127
- tests/sys/fs/fusefs/cache.cc, line 180
- tests/sys/fs/fusefs/create.cc, line 225
- tests/sys/fs/fusefs/flush.cc, line 157
- tests/sys/fs/fusefs/fsync.cc, line 206
- tests/sys/fs/fusefs/fsyncdir.cc, line 147
- tests/sys/fs/fusefs/interrupt.cc, line 316
- tests/sys/fs/fusefs/utils.cc, 2 times
- tests/sys/fs/fusefs/xattr.cc, 4 times
- tools/build/cross-build/capsicum_stubs.c, line 65
- tools/regression/priv/priv_audit_control.c, 2 times
- tools/regression/priv/priv_audit_getaudit.c, 4 times
- tools/regression/priv/priv_audit_setaudit.c, 4 times
- tools/regression/priv/priv_audit_submit.c, 2 times
- tools/regression/security/proc_to_proc/scenario.c, 2 times
- usr.bin/login/login_audit.c, 3 times
- usr.bin/mkimg/format.c, 2 times
- usr.bin/rctl/rctl.c, 5 times
- usr.bin/su/su.c, line 224
- usr.sbin/bhyve/pci_virtio_block.c, line 241
- usr.sbin/makefs/mtree.c, 11 times
- usr.sbin/rwhod/rwhod.c, line 285