/external/strace/xlat/ |
D | resources.h | 63 #if defined(RLIMIT_NPROC) || (defined(HAVE_DECL_RLIMIT_NPROC) && HAVE_DECL_RLIMIT_NPROC) 65 static_assert((RLIMIT_NPROC) == (8), "RLIMIT_NPROC != 8"); 68 # define RLIMIT_NPROC 8 99 #if defined(RLIMIT_NPROC) || (defined(HAVE_DECL_RLIMIT_NPROC) && HAVE_DECL_RLIMIT_NPROC) 101 static_assert((RLIMIT_NPROC) == (8), "RLIMIT_NPROC != 8"); 104 # define RLIMIT_NPROC 8 128 #if defined(RLIMIT_NPROC) || (defined(HAVE_DECL_RLIMIT_NPROC) && HAVE_DECL_RLIMIT_NPROC) 130 static_assert((RLIMIT_NPROC) == (7), "RLIMIT_NPROC != 7"); 133 # define RLIMIT_NPROC 7 157 #if defined(RLIMIT_NPROC) || (defined(HAVE_DECL_RLIMIT_NPROC) && HAVE_DECL_RLIMIT_NPROC) [all …]
|
D | resources.in | 12 RLIMIT_NPROC 8 18 RLIMIT_NPROC 8 23 RLIMIT_NPROC 7 28 RLIMIT_NPROC 6
|
/external/ltp/testcases/kernel/syscalls/setrlimit/ |
D | setrlimit01.c | 73 if ((setrlimit(RLIMIT_NPROC, &save_rlim)) == -1) { in main() 197 SAFE_GETRLIMIT(cleanup, RLIMIT_NPROC, &save_rlim); in test3() 202 TEST(setrlimit(RLIMIT_NPROC, &rlim)); in test3() 210 if ((getrlimit(RLIMIT_NPROC, &rlim1)) == -1) { in test3()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | resource.h | 26 #ifndef RLIMIT_NPROC 27 # define RLIMIT_NPROC 6 /* max number of processes */ macro
|
/external/mksh/src/ |
D | rlimits.gen | 52 #ifdef RLIMIT_NPROC 53 FN("processes", RLIMIT_NPROC, 1, 'p') 158 #ifdef RLIMIT_NPROC
|
D | rlimits.opt | 56 >p|RLIMIT_NPROC 57 FN("processes", RLIMIT_NPROC, 1
|
/external/openssh/ |
D | sandbox-rlimit.c | 77 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
|
D | sandbox-darwin.c | 81 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 | 393 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
|
/external/ltp/testcases/kernel/syscalls/getrlimit/ |
D | getrlimit01.c | 45 {RLIMIT_NPROC, "RLIMIT_NPROC"},
|
/external/python/cpython2/Modules/ |
D | resource.c | 310 #ifdef RLIMIT_NPROC in initresource() 311 PyModule_AddIntConstant(m, "RLIMIT_NPROC", RLIMIT_NPROC); in initresource()
|
/external/libchrome/base/memory/ |
D | protected_memory_posix.cc | 56 getrlimit(RLIMIT_NPROC, reinterpret_cast<struct rlimit*>(page_start)); in AssertMemoryIsReadOnly()
|
/external/python/cpython3/Modules/ |
D | resource.c | 410 #ifdef RLIMIT_NPROC in resource_exec() 411 ADD_INT(module, RLIMIT_NPROC); in resource_exec()
|
/external/toybox/toys/posix/ |
D | ulimit.c | 71 RLIMIT_RTTIME, RLIMIT_RTPRIO, RLIMIT_STACK, RLIMIT_CPU, RLIMIT_NPROC, in ulimit_main()
|
/external/llvm-project/llvm/utils/lit/lit/ |
D | run.py | 119 NPROC = resource.RLIMIT_NPROC
|
/external/rust/crates/libc/src/unix/linux_like/linux/musl/b64/ |
D | mod.rs | 139 pub const RLIMIT_NPROC: ::c_int = 6; constant
|
/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/rust/crates/libc/src/unix/linux_like/linux/uclibc/mips/ |
D | mod.rs | 49 pub const RLIMIT_NPROC: ::c_int = 8; constant
|
/external/python/cpython2/Lib/plat-atheos/ |
D | IN.py | 502 RLIMIT_NPROC = 7 variable
|
/external/python/cpython2/Doc/library/ |
D | resource.rst | 123 .. data:: RLIMIT_NPROC
|
/external/rust/crates/libc/src/unix/bsd/netbsdlike/ |
D | mod.rs | 388 pub const RLIMIT_NPROC: ::c_int = 7; constant
|
/external/rust/crates/libc/src/unix/linux_like/linux/gnu/b64/x86_64/ |
D | mod.rs | 421 pub const RLIMIT_NPROC: ::__rlimit_resource_t = 6; constant
|
/external/rust/crates/libc/src/unix/linux_like/linux/musl/b32/ |
D | hexagon.rs | 288 pub const RLIMIT_NPROC: ::c_int = 6; constant
|
/external/rust/crates/libc/src/unix/linux_like/linux/gnu/b32/riscv32/ |
D | mod.rs | 214 pub const RLIMIT_NPROC: ::__rlimit_resource_t = 6; constant
|