Defined in 2 files as a member:
Defined in 1 files as a macro:
Referenced in 153 files:
- bin/csh/func.c, 5 times
- bin/ksh/c_ulimit.c, 3 times
- bin/pax/pax.c, 4 times
- bin/sh/miscbltin.c, 3 times
- bin/sh/trap.c, line 903
- crypto/external/bsd/heimdal/dist/lib/roken/getdtablesize.c, line 76
- crypto/external/bsd/openssh/dist/sandbox-rlimit.c, line 62
- crypto/external/bsd/openssh/dist/sftp-server.c, 2 times
- crypto/external/bsd/openssh/dist/ssh-agent.c, 4 times
- crypto/external/bsd/openssh/dist/ssh-keyscan.c, 3 times
- dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c, line 731
- external/apache2/llvm/dist/clang/tools/driver/cc1_main.cpp, 6 times
- external/apache2/mDNSResponder/dist/Clients/dnssdutil.c, 2 times
- external/apache2/mDNSResponder/dist/mDNSShared/uds_daemon.c, 6 times
- external/bsd/am-utils/dist/conf/autofs/autofs_linux.c, 2 times
- external/bsd/atf/dist/atf-c/detail/process_test.c, line 668
- external/bsd/dhcpcd/dist/src/privsep.c, line 146
- external/bsd/kyua-cli/dist/utils/process/status_test.cpp, line 154
- external/bsd/kyua-testers/dist/atf_result_test.c, line 83
- external/bsd/kyua-testers/dist/run.c, line 311
- external/bsd/kyua-testers/dist/run_test.c, line 364
- external/bsd/libevent/dist/devpoll.c, 2 times
- external/bsd/libevent/dist/test/bench.c, line 193
- external/bsd/libevent/dist/test/bench_cascade.c, line 169
- external/bsd/libevent/dist/test/regress_listener.c, line 293
- external/bsd/libevent/dist/test/test-fdleak.c, line 232
- external/bsd/ntp/dist/lib/isc/unix/resource.c, 6 times
- external/bsd/ntp/dist/ntpd/ntp_config.c, 3 times
- external/bsd/ntp/dist/sntp/libevent/devpoll.c, 2 times
- external/bsd/ntp/dist/sntp/libevent/test/bench.c, line 173
- external/bsd/ntp/dist/sntp/libevent/test/bench_cascade.c, line 168
- external/bsd/ntp/dist/sntp/libevent/test/test-fdleak.c, line 228
- external/bsd/top/dist/machine/m_sunos5.c, line 1346
- external/bsd/unbound/dist/daemon/unbound.c, 10 times
- external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c, line 1118
- external/cddl/osnet/dist/lib/libdtrace/common/dt_options.c, line 102
- external/gpl2/gmake/dist/main.c, line 924
- external/gpl2/grep/dist/src/grep.c, 2 times
- external/gpl2/libmalloc/dist/mem-limits.h, 3 times
- external/gpl2/lvm2/dist/daemons/dmeventd/dmeventd.c, line 1650
- external/gpl2/lvm2/dist/tools/lvmcmdline.c, line 1168
- external/gpl3/binutils.old/dist/bfd/cache.c, 2 times
- external/gpl3/binutils.old/dist/libiberty/stack-limit.c, 6 times
- external/gpl3/binutils/dist/bfd/cache.c, 2 times
- external/gpl3/binutils/dist/bfd/plugin.c, 2 times
- external/gpl3/binutils/dist/libiberty/stack-limit.c, 6 times
- external/gpl3/gcc.old/dist/gcc/ggc-common.c, 9 times
- external/gpl3/gcc.old/dist/gcc/opts.c, line 3014
- external/gpl3/gcc.old/dist/libiberty/stack-limit.c, 6 times
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc, line 119
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_mac.cc, 2 times
- external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cc, 2 times
- external/gpl3/gcc/dist/gcc/ggc-common.c, 9 times
- external/gpl3/gcc/dist/gcc/opts.c, line 3014
- external/gpl3/gcc/dist/libiberty/stack-limit.c, 6 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc, line 119
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_mac.cc, 2 times
- external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cc, 2 times
- external/gpl3/gdb.old/dist/bfd/cache.c, 2 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/bigcore.c, 4 times
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/morestack.c, line 99
- external/gpl3/gdb.old/dist/gdb/utils.c, line 225
- external/gpl3/gdb.old/dist/gnulib/import/getdtablesize.c, 6 times
- external/gpl3/gdb.old/dist/libiberty/stack-limit.c, 6 times
- external/gpl3/gdb.old/dist/libiberty/testsuite/test-pexecute.c, line 465
- external/gpl3/gdb/dist/bfd/cache.c, 2 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.base/bigcore.c, 4 times
- external/gpl3/gdb/dist/gdb/testsuite/gdb.base/morestack.c, line 99
- external/gpl3/gdb/dist/gdb/utils.c, line 225
- external/gpl3/gdb/dist/gnulib/import/getdtablesize.c, 6 times
- external/gpl3/gdb/dist/libiberty/stack-limit.c, 6 times
- external/gpl3/gdb/dist/libiberty/testsuite/test-pexecute.c, line 465
- external/ibm-public/postfix/dist/src/util/file_limit.c, 3 times
- external/ibm-public/postfix/dist/src/util/open_limit.c, 3 times
- external/lgpl3/gmp/dist/demos/pexpr.c, 4 times
- external/lgpl3/mpfr/dist/tests/tests.c, line 376
- external/mit/libuv/dist/src/unix/os390.c, line 195
- external/mit/libuv/dist/src/unix/thread.c, 5 times
- external/mit/libuv/dist/test/task.h, 2 times
- external/mit/libuv/dist/test/test-emfile.c, line 55
- external/mit/libuv/dist/test/test-thread.c, 3 times
- external/mpl/bind/dist/lib/isc/unix/resource.c, 5 times
- lib/libc/gen/sysconf.c, 2 times
- lib/libc/gen/ulimit.c, 2 times
- lib/libcrypt/crypt-argon2.c, 3 times
- lib/libperfuse/perfuse.c, 3 times
- lib/libpthread/pthread.c, line 1250
- lib/libutil/login_cap.c, 7 times
- lib/libutil/passwd.c, 2 times
- libexec/getty/main.c, 2 times
- sbin/cgdconfig/argon2_utils.c, 3 times
- sbin/cgdconfig/cgdconfig.c, line 1678
- sbin/fsck_ffs/main.c, line 160
- sys/arch/sparc/sparc/trap.c, line 903
- sys/arch/vax/vax/machdep.c, line 775
- sys/compat/common/kern_info_43.c, line 90
- sys/compat/common/kern_resource_43.c, 6 times
- sys/compat/linux/arch/alpha/linux_osf1.c, line 317
- sys/compat/linux/arch/amd64/linux_exec_machdep.c, line 97
- sys/compat/linux/arch/i386/linux_exec_machdep.c, line 100
- sys/compat/linux/common/linux_limit.h, 4 times
- sys/compat/linux/common/linux_misc.c, 2 times
- sys/compat/linux32/arch/aarch64/linux32_exec_machdep.c, line 106
- sys/compat/netbsd32/netbsd32_execve.c, line 212
- sys/compat/netbsd32/netbsd32_rlimit.c, 7 times
- sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test.cc, 3 times
- sys/external/bsd/compiler_rt/dist/lib/safestack/safestack.cc, 2 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_linux_libcdep.cc, line 121
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_mac.cc, 2 times
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_posix_libcdep.cc, 2 times
- sys/kern/exec_subr.c, 2 times
- sys/kern/kern_acct.c, line 434
- sys/kern/kern_core.c, line 146
- sys/kern/kern_descrip.c, line 897
- sys/kern/kern_exec.c, 3 times
- sys/kern/kern_fork.c, line 284
- sys/kern/kern_lwp.c, line 790
- sys/kern/kern_proc.c, 5 times
- sys/kern/kern_resource.c, 27 times
- sys/kern/kern_synch.c, 3 times
- sys/kern/sys_descrip.c, 2 times
- sys/kern/uipc_socket2.c, line 714
- sys/kern/vfs_vnops.c, line 512
- sys/miscfs/procfs/procfs_limit.c, line 80
- sys/miscfs/procfs/procfs_linux.c, line 494
- sys/miscfs/procfs/procfs_status.c, 6 times
- sys/miscfs/procfs/procfs_vnops.c, line 1351
- sys/nfs/nfs_bio.c, line 488
- sys/rump/librump/rumpkern/vm.c, 2 times
- sys/ufs/chfs/chfs_vnops.c, line 826
- sys/uvm/uvm_glue.c, 4 times
- sys/uvm/uvm_mmap.c, 7 times
- sys/uvm/uvm_unix.c, 2 times
- tests/fs/puffs/h_dtfs/dtfs_vfsops.c, line 212
- tests/lib/libc/gen/t_assert.c, line 51
- tests/lib/libc/gen/t_siginfo.c, line 177
- tests/lib/libc/regex/t_exhaust.c, line 220
- tests/lib/libc/stdio/t_printf.c, 2 times
- tests/lib/libc/sys/t_clone.c, line 230
- tests/lib/libc/sys/t_dup.c, 3 times
- tests/lib/libc/sys/t_mincore.c, line 166
- tests/lib/libc/sys/t_mlock.c, 2 times
- tests/lib/libc/sys/t_pipe2.c, 3 times
- tests/lib/libc/sys/t_revoke.c, line 64
- tests/lib/libc/sys/t_setrlimit.c, 15 times
- tests/lib/libpthread/dlopen/t_dso_pthread_create.c, line 74
- tests/lib/libpthread/t_siglongjmp.c, line 80
- tests/lib/libpthread/t_sigmask.c, line 72
- usr.bin/make/main.c, 2 times
- usr.bin/rlogin/rlogin.c, line 266
- usr.bin/sort/sort.c, line 135
- usr.sbin/inetd/inetd.c, 7 times
- usr.sbin/rpcbind/rpcbind.c, 3 times