Home
last modified time | relevance | path

Searched refs:RLIMIT_NPROC (Results 1 – 18 of 18) sorted by relevance

/external/ltp/testcases/kernel/syscalls/setrlimit/
Dsetrlimit01.c72 if ((setrlimit(RLIMIT_NPROC, &save_rlim)) == -1) { in main()
198 if (getrlimit(RLIMIT_NPROC, &save_rlim) < 0) in test3()
204 TEST(setrlimit(RLIMIT_NPROC, &rlim)); in test3()
212 if ((getrlimit(RLIMIT_NPROC, &rlim1)) == -1) { in test3()
/external/kernel-headers/original/uapi/asm-generic/
Dresource.h25 #ifndef RLIMIT_NPROC
26 # define RLIMIT_NPROC 6 /* max number of processes */ macro
/external/strace/xlat/
Dresources.h41 #if defined(RLIMIT_NPROC) || (defined(HAVE_DECL_RLIMIT_NPROC) && HAVE_DECL_RLIMIT_NPROC)
42 XLAT(RLIMIT_NPROC),
Dresources.in11 RLIMIT_NPROC
/external/mksh/src/
Drlimits.gen52 #ifdef RLIMIT_NPROC
53 FN("processes", RLIMIT_NPROC, 1, 'p')
152 #ifdef RLIMIT_NPROC
Drlimits.opt56 >p|RLIMIT_NPROC
57 FN("processes", RLIMIT_NPROC, 1
/external/kernel-headers/original/uapi/asm-mips/asm/
Dresource.h20 #define RLIMIT_NPROC 8 /* max number of processes */ macro
/external/libchrome/sandbox/linux/services/
Dresource_limits_unittests.cc32 SANDBOX_ASSERT(ResourceLimits::Lower(RLIMIT_NPROC, 0)); in SANDBOX_TEST()
/external/openssh/
Dsandbox-rlimit.c78 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
Dsandbox-darwin.c80 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
Dsandbox-capsicum.c83 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
Dsandbox-seccomp-filter.c282 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
Dconfig.h.in887 /* sys/resource.h has RLIMIT_NPROC */
Dconfigure.ac114 AC_CHECK_DECL([RLIMIT_NPROC],
115 [AC_DEFINE([HAVE_RLIMIT_NPROC], [], [sys/resource.h has RLIMIT_NPROC])], , [
/external/ltp/testcases/kernel/syscalls/getrlimit/
Dgetrlimit01.c45 {RLIMIT_NPROC, "RLIMIT_NPROC"},
/external/toybox/toys/posix/
Dulimit.c67 RLIMIT_CPU, RLIMIT_NPROC, RLIMIT_AS}; in ulimit_main()
/external/llvm/utils/lit/lit/
Dmain.py394 max_procs_soft, max_procs_hard = resource.getrlimit(resource.RLIMIT_NPROC)
398 resource.setrlimit(resource.RLIMIT_NPROC, (desired_limit, max_procs_hard))
/external/valgrind/include/vki/
Dvki-darwin.h657 #define VKI_RLIMIT_NPROC RLIMIT_NPROC