Defined in 2 files as a macro:
Referenced in 241 files:
- bin/echo/echo.c, line 83
- bin/sleep/sleep.c, line 73
- cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h, line 228
- contrib/binutils/libiberty/strerror.c, 2 times
- contrib/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc, line 1879
- contrib/gcclibs/libiberty/strerror.c, 2 times
- 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/libarchive/libarchive/archive_read_disk_entry_from_file.c, line 567
- contrib/libarchive/libarchive/archive_string.c, line 844
- 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/libc++/include/errno.h, line 242
- 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/libauditd/auditd_lib.c, line 271
- contrib/openbsm/libbsm/bsm_audit.c, line 239
- contrib/openbsm/libbsm/bsm_errno.c, line 395
- 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/unbound/compat/getentropy_linux.c, line 126
- contrib/unbound/compat/inet_ntop.c, line 72
- contrib/unbound/compat/inet_pton.c, line 76
- contrib/unbound/services/listen_dnsport.c, line 154
- crypto/heimdal/lib/kafs/afssys.c, 2 times
- crypto/heimdal/lib/sqlite/sqlite3.c, line 25277
- 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 49
- crypto/openssh/sandbox-capsicum.c, 6 times
- crypto/openssh/sftp-server.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 309
- lib/libc/gen/auxv.c, line 120
- lib/libc/gen/cap_sandboxed.c, line 45
- lib/libc/posix1e/acl_copy.c, 2 times
- lib/libc/stdlib/atexit.c, line 153
- lib/libc/sys/__vdso_gettimeofday.c, 7 times
- lib/libc/sys/clock_gettime.c, 2 times
- lib/libc/sys/gettimeofday.c, line 45
- lib/libc/sys/trivial-vdso_tc.c, 2 times
- lib/libc/x86/sys/__vdso_gettc.c, 5 times
- lib/libcapsicum/capsicum_helpers.h, 3 times
- lib/libsysdecode/errno.c, line 116
- sbin/dhclient/bpf.c, 3 times
- sbin/dhclient/dhclient.c, 9 times
- sbin/ping/ping.c, 5 times
- stand/efi/libefi/efipart.c, line 984
- stand/efi/loader/arch/arm64/exec.c, line 142
- stand/userboot/userboot/host.c, line 168
- stand/zfs/zfs.c, line 633
- sys/amd64/cloudabi32/cloudabi32_sysvec.c, line 105
- sys/amd64/cloudabi64/cloudabi64_sysvec.c, line 101
- sys/arm/cloudabi32/cloudabi32_sysvec.c, line 82
- sys/arm64/cloudabi64/cloudabi64_sysvec.c, line 82
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_acl.c, 2 times
- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c, 9 times
- sys/compat/cloudabi/cloudabi_errno.c, line 91
- sys/compat/freebsd32/freebsd32_capability.c, 2 times
- sys/compat/linux/linux_file.c, line 1667
- sys/compat/linux/linux_futex.c, 16 times
- sys/compat/linux/linux_misc.c, line 1780
- sys/compat/linux/linux_socket.c, line 1765
- sys/compat/linux/linux_timer.c, line 73
- sys/compat/linux/linux_util.h, 2 times
- sys/compat/svr4/svr4_fcntl.c, 2 times
- sys/compat/svr4/svr4_ipc.c, line 673
- sys/compat/svr4/svr4_misc.c, 8 times
- sys/compat/svr4/svr4_signal.c, 2 times
- sys/compat/svr4/svr4_stat.c, 4 times
- sys/compat/svr4/svr4_stream.c, 15 times
- sys/contrib/alpine-hal/al_hal_pcie.c, 6 times
- sys/dev/beri/virtio/virtio_block.c, 2 times
- sys/dev/bnxt/bnxt_hwrm.c, line 72
- sys/dev/bnxt/bnxt_txrx.c, line 680
- sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_cm.c, line 1294
- sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_provider.c, 8 times
- sys/dev/cxgbe/cxgbei/cxgbei.c, line 805
- sys/dev/cxgbe/iw_cxgbe/cq.c, line 1038
- 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 356
- sys/dev/drm2/drm_crtc.c, 5 times
- sys/dev/drm2/radeon/radeon_gem.c, 2 times
- sys/dev/efidev/efirt.c, line 72
- sys/dev/hwpmc/hwpmc_mod.c, 3 times
- sys/dev/hwpmc/hwpmc_pentium.c, line 50
- sys/dev/hwpmc/hwpmc_piv.c, line 1673
- sys/dev/hwpmc/hwpmc_ppro.c, line 842
- sys/dev/ixl/i40e_adminq.h, line 142
- sys/dev/ixl/ixl_pf_iov.c, line 1702
- 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/watchdog/watchdog.c, line 218
- sys/dev/xen/grant_table/grant_table.c, line 553
- sys/dev/xen/privcmd/privcmd.c, line 365
- sys/fs/fuse/fuse_internal.c, 2 times
- sys/fs/fuse/fuse_vnops.c, 5 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/ibcs2/ibcs2_fcntl.c, line 316
- sys/i386/ibcs2/ibcs2_ioctl.c, 3 times
- sys/i386/ibcs2/ibcs2_isc.c, line 64
- sys/i386/ibcs2/ibcs2_misc.c, line 128
- sys/i386/ibcs2/ibcs2_signal.c, line 335
- sys/i386/ibcs2/ibcs2_stat.c, 2 times
- sys/i386/ibcs2/ibcs2_xenix.c, line 77
- sys/i386/linux/linux_machdep.c, 8 times
- sys/kern/kern_exec.c, line 282
- sys/kern/kern_ffclock.c, 3 times
- sys/kern/kern_ktrace.c, 2 times
- sys/kern/kern_linker.c, line 488
- sys/kern/kern_prot.c, line 1260
- sys/kern/kern_rctl.c, 10 times
- sys/kern/kern_sig.c, 2 times
- sys/kern/kern_syscalls.c, line 90
- sys/kern/kern_xxx.c, line 131
- sys/kern/link_elf.c, 2 times
- sys/kern/link_elf_obj.c, line 568
- sys/kern/p1003_1b.c, line 71
- 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 94
- 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 2977
- sys/netgraph/ng_base.c, 2 times
- sys/netinet6/send.c, line 168
- 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 230
- 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 666
- sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_cm.c, line 1347
- sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ethtool.c, line 89
- sys/ofed/include/rdma/ib_verbs.h, line 2933
- sys/ofed/include/rdma/ib_verbs_compat.h, 7 times
- sys/powerpc/mpc85xx/lbc.c, line 330
- sys/powerpc/powerpc/exec_machdep.c, 2 times
- sys/security/audit/audit_syscalls.c, 24 times
- sys/security/audit/bsm_errno.c, line 397
- sys/security/audit/bsm_token.c, 2 times
- sys/security/mac/mac_syscalls.c, 11 times
- sys/sparc64/include/dump.h, line 65
- sys/sparc64/sparc64/machdep.c, 2 times
- sys/xen/error.h, line 64
- sys/xen/interface/errno.h, line 62
- sys/xen/interface/io/xs_wire.h, line 84
- 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/basename/basename.c, line 68
- usr.bin/bsdiff/bspatch/bspatch.c, line 149
- usr.bin/col/col.c, 4 times
- usr.bin/dc/dc.c, 2 times
- usr.bin/diff/diffreg.c, 3 times
- usr.bin/dirname/dirname.c, line 57
- usr.bin/elfdump/elfdump.c, 7 times
- usr.bin/getopt/getopt.c, line 22
- usr.bin/indent/indent.c, 3 times
- usr.bin/kdump/kdump.c, 4 times
- usr.bin/locate/bigram/locate.bigram.c, line 79
- usr.bin/login/login_audit.c, 3 times
- usr.bin/logname/logname.c, line 55
- usr.bin/mkimg/format.c, 2 times
- usr.bin/printenv/printenv.c, line 70
- usr.bin/rctl/rctl.c, 5 times
- usr.bin/rwho/rwho.c, 3 times
- usr.bin/su/su.c, line 222
- usr.bin/tee/tee.c, 6 times
- usr.bin/uniq/uniq.c, 4 times
- usr.bin/units/units.c, 3 times
- usr.bin/users/users.cc, line 58
- usr.bin/yes/yes.c, line 61
- usr.sbin/bhyve/bhyverun.c, 6 times
- usr.sbin/bhyve/block_if.c, 2 times
- usr.sbin/bhyve/consport.c, 2 times
- usr.sbin/bhyve/dbgport.c, line 170
- usr.sbin/bhyve/mevent.c, 3 times
- usr.sbin/bhyve/pci_e82545.c, line 2241
- usr.sbin/bhyve/pci_passthru.c, 5 times
- usr.sbin/bhyve/pci_virtio_block.c, line 179
- usr.sbin/bhyve/pci_virtio_net.c, line 782
- usr.sbin/bhyve/pci_virtio_rnd.c, line 159
- usr.sbin/bhyve/rfb.c, line 1024
- usr.sbin/bhyve/uart_emul.c, 5 times
- usr.sbin/ctld/kernel.c, 3 times
- usr.sbin/fstyp/fstyp.c, line 195
- usr.sbin/iscsid/iscsid.c, 3 times
- usr.sbin/makefs/mtree.c, 11 times
- usr.sbin/rwhod/rwhod.c, 4 times
- usr.sbin/uefisign/child.c, line 244