Searched refs:RLIMIT_NPROC (Results 1 – 18 of 18) sorted by relevance
/external/ltp/testcases/kernel/syscalls/setrlimit/ |
D | setrlimit01.c | 72 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/ |
D | resource.h | 25 #ifndef RLIMIT_NPROC 26 # define RLIMIT_NPROC 6 /* max number of processes */ macro
|
/external/strace/xlat/ |
D | resources.h | 41 #if defined(RLIMIT_NPROC) || (defined(HAVE_DECL_RLIMIT_NPROC) && HAVE_DECL_RLIMIT_NPROC) 42 XLAT(RLIMIT_NPROC),
|
D | resources.in | 11 RLIMIT_NPROC
|
/external/mksh/src/ |
D | rlimits.gen | 52 #ifdef RLIMIT_NPROC 53 FN("processes", RLIMIT_NPROC, 1, 'p') 152 #ifdef RLIMIT_NPROC
|
D | rlimits.opt | 56 >p|RLIMIT_NPROC 57 FN("processes", RLIMIT_NPROC, 1
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
D | resource.h | 20 #define RLIMIT_NPROC 8 /* max number of processes */ macro
|
/external/libchrome/sandbox/linux/services/ |
D | resource_limits_unittests.cc | 32 SANDBOX_ASSERT(ResourceLimits::Lower(RLIMIT_NPROC, 0)); in SANDBOX_TEST()
|
/external/openssh/ |
D | sandbox-rlimit.c | 78 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
|
D | sandbox-darwin.c | 80 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
|
D | sandbox-capsicum.c | 83 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
|
D | sandbox-seccomp-filter.c | 282 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
|
D | config.h.in | 887 /* sys/resource.h has RLIMIT_NPROC */
|
D | configure.ac | 114 AC_CHECK_DECL([RLIMIT_NPROC], 115 [AC_DEFINE([HAVE_RLIMIT_NPROC], [], [sys/resource.h has RLIMIT_NPROC])], , [
|
/external/ltp/testcases/kernel/syscalls/getrlimit/ |
D | getrlimit01.c | 45 {RLIMIT_NPROC, "RLIMIT_NPROC"},
|
/external/toybox/toys/posix/ |
D | ulimit.c | 67 RLIMIT_CPU, RLIMIT_NPROC, RLIMIT_AS}; in ulimit_main()
|
/external/llvm/utils/lit/lit/ |
D | main.py | 394 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/ |
D | vki-darwin.h | 657 #define VKI_RLIMIT_NPROC RLIMIT_NPROC
|