Searched refs:RLIMIT_NPROC (Results 1 – 25 of 25) sorted by relevance
| /freebsd-11-stable/contrib/ntp/lib/isc/unix/ |
| HD | resource.c | 73 #ifdef RLIMIT_NPROC in resource2rlim() 74 *rlim_resource = RLIMIT_NPROC; in resource2rlim()
|
| /freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/ |
| HD | t_clone.c | 228 ATF_REQUIRE_ERRNO(errno, getrlimit(RLIMIT_NPROC, &rl) != -1); in ATF_TC_BODY() 233 ATF_REQUIRE_ERRNO(errno, setrlimit(RLIMIT_NPROC, &rl) != -1); in ATF_TC_BODY()
|
| HD | t_setrlimit.c | 69 RLIMIT_NPROC, 453 if (setrlimit(RLIMIT_NPROC, &res) != 0) in ATF_TC_BODY()
|
| /freebsd-11-stable/crypto/openssh/ |
| HD | sandbox-rlimit.c | 77 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
|
| HD | sandbox-darwin.c | 81 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
|
| HD | sandbox-capsicum.c | 84 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
|
| HD | sandbox-seccomp-filter.c | 321 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
|
| HD | configure.ac | 102 AC_CHECK_DECL([RLIMIT_NPROC], 103 [AC_DEFINE([HAVE_RLIMIT_NPROC], [], [sys/resource.h has RLIMIT_NPROC])], , [
|
| /freebsd-11-stable/contrib/apr/include/arch/unix/ |
| HD | apr_arch_threadproc.h | 105 #ifdef RLIMIT_NPROC
|
| /freebsd-11-stable/sys/sys/ |
| HD | resource.h | 109 #define RLIMIT_NPROC 7 /* number of processes */ macro
|
| /freebsd-11-stable/bin/sh/ |
| HD | miscbltin.c | 468 #ifdef RLIMIT_NPROC 469 { "max user processes", (char *)0, RLIMIT_NPROC, 1, 'u' },
|
| /freebsd-11-stable/contrib/apr/threadproc/unix/ |
| HD | proc.c | 251 #ifdef RLIMIT_NPROC in limit_proc() 253 if ((setrlimit(RLIMIT_NPROC, attr->limit_nproc)) != 0) { in limit_proc() 703 #ifdef RLIMIT_NPROC in apr_procattr_limit_set()
|
| /freebsd-11-stable/crypto/heimdal/appl/rsh/ |
| HD | limits_conf.c | 60 #ifdef RLIMIT_NPROC
|
| /freebsd-11-stable/crypto/heimdal/appl/login/ |
| HD | limits_conf.c | 60 #ifdef RLIMIT_NPROC
|
| /freebsd-11-stable/sys/kern/ |
| HD | init_main.c | 566 p->p_limit->pl_rlimit[RLIMIT_NPROC].rlim_cur = in proc0_init() 567 p->p_limit->pl_rlimit[RLIMIT_NPROC].rlim_max = maxproc; in proc0_init()
|
| HD | kern_fork.c | 1019 lim_cur(td, RLIMIT_NPROC)); in fork1()
|
| HD | kern_resource.c | 714 case RLIMIT_NPROC: in kern_proc_setrlimit()
|
| /freebsd-11-stable/lib/libc/gen/ |
| HD | sysconf.c | 91 if (getrlimit(RLIMIT_NPROC, &rl) != 0) in sysconf()
|
| /freebsd-11-stable/usr.bin/xargs/ |
| HD | xargs.c | 172 if (getrlimit(RLIMIT_NPROC, &rl) != 0) in main()
|
| /freebsd-11-stable/lib/libutil/ |
| HD | login_class.c | 62 { "maxproc", login_getcapnum, RLIMIT_NPROC },
|
| /freebsd-11-stable/usr.bin/limits/ |
| HD | limits.c | 660 case RLIMIT_NPROC: in resource_num()
|
| /freebsd-11-stable/contrib/tcsh/ |
| HD | sh.func.c | 1967 # ifdef RLIMIT_NPROC 1968 { RLIMIT_NPROC, "maxproc", 1, "" },
|
| /freebsd-11-stable/sys/i386/ibcs2/ |
| HD | ibcs2_misc.c | 766 td->td_retval[0] = lim_cur(td, RLIMIT_NPROC); in ibcs2_sysconf()
|
| /freebsd-11-stable/sys/compat/linprocfs/ |
| HD | linprocfs.c | 1346 { "Max processes", "processes", RLIMIT_NPROC },
|
| /freebsd-11-stable/sys/compat/linux/ |
| HD | linux_misc.c | 117 RLIMIT_CORE, RLIMIT_RSS, RLIMIT_NPROC, RLIMIT_NOFILE,
|