Home
last modified time | relevance | path

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

12

/external/strace/xlat/
Dresources.h63 #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 …]
Dresources.in12 RLIMIT_NPROC 8
18 RLIMIT_NPROC 8
23 RLIMIT_NPROC 7
28 RLIMIT_NPROC 6
/external/ltp/testcases/kernel/syscalls/setrlimit/
Dsetrlimit01.c73 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/
Dresource.h26 #ifndef RLIMIT_NPROC
27 # define RLIMIT_NPROC 6 /* max number of processes */ macro
/external/mksh/src/
Drlimits.gen52 #ifdef RLIMIT_NPROC
53 FN("processes", RLIMIT_NPROC, 1, 'p')
158 #ifdef RLIMIT_NPROC
Drlimits.opt56 >p|RLIMIT_NPROC
57 FN("processes", RLIMIT_NPROC, 1
/external/openssh/
Dsandbox-rlimit.c77 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
Dsandbox-darwin.c81 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.c393 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
/external/ltp/testcases/kernel/syscalls/getrlimit/
Dgetrlimit01.c45 {RLIMIT_NPROC, "RLIMIT_NPROC"},
/external/python/cpython2/Modules/
Dresource.c310 #ifdef RLIMIT_NPROC in initresource()
311 PyModule_AddIntConstant(m, "RLIMIT_NPROC", RLIMIT_NPROC); in initresource()
/external/libchrome/base/memory/
Dprotected_memory_posix.cc56 getrlimit(RLIMIT_NPROC, reinterpret_cast<struct rlimit*>(page_start)); in AssertMemoryIsReadOnly()
/external/python/cpython3/Modules/
Dresource.c410 #ifdef RLIMIT_NPROC in resource_exec()
411 ADD_INT(module, RLIMIT_NPROC); in resource_exec()
/external/toybox/toys/posix/
Dulimit.c71 RLIMIT_RTTIME, RLIMIT_RTPRIO, RLIMIT_STACK, RLIMIT_CPU, RLIMIT_NPROC, in ulimit_main()
/external/llvm-project/llvm/utils/lit/lit/
Drun.py119 NPROC = resource.RLIMIT_NPROC
/external/rust/crates/libc/src/unix/linux_like/linux/musl/b64/
Dmod.rs139 pub const RLIMIT_NPROC: ::c_int = 6; constant
/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/rust/crates/libc/src/unix/linux_like/linux/uclibc/mips/
Dmod.rs49 pub const RLIMIT_NPROC: ::c_int = 8; constant
/external/python/cpython2/Lib/plat-atheos/
DIN.py502 RLIMIT_NPROC = 7 variable
/external/python/cpython2/Doc/library/
Dresource.rst123 .. data:: RLIMIT_NPROC
/external/rust/crates/libc/src/unix/bsd/netbsdlike/
Dmod.rs388 pub const RLIMIT_NPROC: ::c_int = 7; constant
/external/rust/crates/libc/src/unix/linux_like/linux/gnu/b64/x86_64/
Dmod.rs421 pub const RLIMIT_NPROC: ::__rlimit_resource_t = 6; constant
/external/rust/crates/libc/src/unix/linux_like/linux/musl/b32/
Dhexagon.rs288 pub const RLIMIT_NPROC: ::c_int = 6; constant
/external/rust/crates/libc/src/unix/linux_like/linux/gnu/b32/riscv32/
Dmod.rs214 pub const RLIMIT_NPROC: ::__rlimit_resource_t = 6; constant

12