Defined in 1 files as a variable:
Defined in 1 files as a struct:
Defined in 3 files as a member:
Referenced in 138 files:
- bin/pax/pax.c, line 355
- bin/sh/miscbltin.c, 2 times
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c, line 1034
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_options.c, line 89
- contrib/apr/include/apr_thread_proc.h, line 520
- contrib/apr/include/arch/unix/apr_arch_threadproc.h, 4 times
- contrib/apr/threadproc/unix/proc.c, line 683
- contrib/atf/atf-c/detail/process_test.c, line 666
- contrib/bmake/main.c, line 1120
- contrib/capsicum-test/capability-fd.cc, line 195
- contrib/capsicum-test/capmode.cc, line 330
- contrib/capsicum-test/syscalls.h, line 179
- contrib/gdb/gdb/standalone.c, line 455
- contrib/kyua/utils/process/isolation_test.cpp, line 413
- contrib/kyua/utils/stacktrace.cpp, line 244
- contrib/kyua/utils/stacktrace_test.cpp, 2 times
- contrib/libevent/devpoll.c, line 124
- contrib/libevent/test/bench.c, line 140
- contrib/libevent/test/bench_cascade.c, line 143
- contrib/libevent/test/regress_listener.c, line 206
- contrib/libevent/test/test-fdleak.c, line 225
- contrib/libpcap/lbl/os-sunos4.h, 3 times
- contrib/llvm-project/clang/tools/driver/cc1_main.cpp, line 137
- contrib/llvm-project/compiler-rt/lib/dfsan/dfsan_custom.cpp, 2 times
- contrib/llvm-project/compiler-rt/lib/safestack/safestack.cpp, line 270
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp, line 104
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp, line 392
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.cpp, line 127
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp, line 405
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_openbsd.cpp, line 90
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp, line 223
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp, 4 times
- contrib/llvm-project/openmp/runtime/src/z_Linux_util.cpp, line 1865
- contrib/netbsd-tests/fs/puffs/h_dtfs/dtfs_vfsops.c, line 197
- contrib/netbsd-tests/lib/libc/gen/t_assert.c, line 49
- contrib/netbsd-tests/lib/libc/gen/t_siginfo.c, line 179
- contrib/netbsd-tests/lib/libc/regex/t_exhaust.c, line 187
- contrib/netbsd-tests/lib/libc/stdio/t_printf.c, line 145
- contrib/netbsd-tests/lib/libc/sys/t_clone.c, line 225
- contrib/netbsd-tests/lib/libc/sys/t_dup.c, 6 times
- contrib/netbsd-tests/lib/libc/sys/t_mincore.c, line 153
- contrib/netbsd-tests/lib/libc/sys/t_mlock.c, line 203
- contrib/netbsd-tests/lib/libc/sys/t_pipe2.c, line 118
- contrib/netbsd-tests/lib/libc/sys/t_revoke.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_setrlimit.c, 30 times
- contrib/netbsd-tests/lib/libc/sys/t_wait.c, 3 times
- contrib/netbsd-tests/lib/libpthread/dlopen/t_dso_pthread_create.c, line 69
- contrib/netbsd-tests/lib/libpthread/t_siglongjmp.c, line 77
- contrib/netbsd-tests/lib/libpthread/t_sigmask.c, line 70
- contrib/ntp/lib/isc/unix/resource.c, 3 times
- contrib/ntp/ntpd/ntp_config.c, 4 times
- contrib/ntp/ntpd/ntp_parser.c, line 2848
- contrib/ntp/sntp/libevent/devpoll.c, line 124
- contrib/ntp/sntp/libevent/test/bench.c, line 140
- contrib/ntp/sntp/libevent/test/bench_cascade.c, line 143
- contrib/ntp/sntp/libevent/test/test-fdleak.c, line 225
- contrib/ofed/libibverbs/init.c, line 247
- contrib/pf/ftp-proxy/ftp-proxy.c, line 602
- contrib/sendmail/src/conf.c, 2 times
- contrib/tcpdump/lbl/os-sunos4.h, 3 times
- contrib/tcsh/sh.func.c, 2 times
- contrib/tcsh/tc.os.h, 2 times
- contrib/unbound/daemon/unbound.c, line 199
- crypto/heimdal/appl/login/limits_conf.c, line 49
- crypto/heimdal/appl/rsh/limits_conf.c, line 49
- crypto/heimdal/lib/roken/getdtablesize.c, line 72
- crypto/openssh/sandbox-capsicum.c, line 72
- crypto/openssh/sandbox-darwin.c, line 63
- crypto/openssh/sandbox-rlimit.c, line 62
- crypto/openssh/sandbox-seccomp-filter.c, line 332
- crypto/openssh/ssh-agent.c, line 1096
- crypto/openssh/ssh-keyscan.c, 2 times
- gnu/usr.bin/grep/grep.c, line 1218
- lib/geom/eli/geom_eli.c, line 294
- lib/libc/gen/elf_utils.c, line 79
- lib/libc/gen/sysconf.c, line 77
- lib/libc/gen/ulimit.c, line 43
- lib/libc/rpc/rpc_generic.c, line 118
- lib/libpmc/pmu-events/jevents.c, line 889
- lib/libprocstat/core.c, line 72
- lib/libprocstat/libprocstat.c, 26 times
- lib/libprocstat/libprocstat.h, 3 times
- lib/libsysdecode/flags.c, line 794
- lib/libthr/thread/thr_init.c, line 438
- lib/libthr/thread/thr_stack.c, line 151
- lib/libutil/login_class.c, line 83
- lib/libutil/pw_util.c, line 94
- libexec/getty/main.c, line 184
- sbin/fsck_ffs/main.c, 6 times
- sbin/fsirand/fsirand.c, line 66
- sys/amd64/linux/linux_proto.h, 6 times
- sys/amd64/linux32/linux32_proto.h, 6 times
- sys/amd64/linux32/linux32_sysvec.c, 2 times
- sys/arm/linux/linux_proto.h, 6 times
- sys/arm64/linux/linux_proto.h, 6 times
- sys/compat/ia32/ia32_sysvec.c, line 204
- sys/compat/ia32/ia32_util.h, line 57
- sys/compat/linprocfs/linprocfs.c, line 1681
- sys/compat/linux/linux_emul.c, 2 times
- sys/compat/linux/linux_misc.c, 5 times
- sys/contrib/alpine-hal/al_hal_udma_config.c, 4 times
- sys/contrib/alpine-hal/al_hal_udma_debug.c, 10 times
- sys/contrib/alpine-hal/al_hal_udma_main.c, line 113
- sys/contrib/openzfs/cmd/zdb/zdb.c, line 8132
- sys/contrib/openzfs/cmd/zed/zed_file.c, line 172
- sys/contrib/openzfs/cmd/ztest/ztest.c, line 7502
- sys/contrib/openzfs/tests/zfs-tests/cmd/btree_test/btree_test.c, line 423
- sys/contrib/openzfs/tests/zfs-tests/tests/functional/libzfs/many_fds.c, line 43
- sys/i386/linux/linux_proto.h, 6 times
- sys/kern/imgact_elf.c, line 2524
- sys/kern/kern_exec.c, line 1040
- sys/kern/kern_proc.c, 2 times
- sys/kern/kern_resource.c, 19 times
- sys/powerpc/powerpc/elf32_machdep.c, 2 times
- sys/sys/resource.h, 2 times
- sys/sys/resourcevar.h, 4 times
- sys/sys/syscallsubr.h, 2 times
- sys/sys/sysent.h, 2 times
- sys/sys/sysproto.h, 6 times
- sys/vm/vm_swapout.c, line 370
- tests/sys/audit/process-control.c, line 1046
- tests/sys/file/dup_test.c, line 82
- tests/sys/fs/fusefs/write.cc, line 461
- tests/sys/kern/kern_descrip_test.c, line 156
- tests/sys/kern/ptrace_test.c, line 2689
- tests/sys/posixshm/posixshm_test.c, 2 times
- tools/regression/posixsem/posixsem.c, line 1300
- tools/regression/priv/priv_proc_setrlimit.c, 5 times
- usr.bin/gcore/elfcore.c, 3 times
- usr.bin/limits/limits.c, 5 times
- usr.bin/newkey/update.c, line 149
- usr.bin/procstat/procstat_rlimit.c, 9 times
- usr.bin/time/time.c, line 82
- usr.bin/truss/syscalls.c, line 2264
- usr.bin/xargs/xargs.c, line 124
- usr.sbin/rpc.yppasswdd/yppasswdd_main.c, line 165
- usr.sbin/rpc.ypupdated/update.c, line 153
- usr.sbin/rpcbind/rpcbind.c, line 136