Home
last modified time | relevance | path

Searched refs:RLIMIT_STACK (Results 1 – 25 of 53) sorted by relevance

123

/external/strace/xlat/
Dresources.h27 #if defined(RLIMIT_STACK) || (defined(HAVE_DECL_RLIMIT_STACK) && HAVE_DECL_RLIMIT_STACK)
29 static_assert((RLIMIT_STACK) == (3), "RLIMIT_STACK != 3");
32 # define RLIMIT_STACK 3
242 [RLIMIT_STACK] = XLAT(RLIMIT_STACK),
Dresources.in5 RLIMIT_STACK 3
/external/compiler-rt/test/asan/TestCases/Linux/
Dstack-overflow-recovery-mode.cc20 int res = getrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec()
24 res = setrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec()
Dstack-overflow-sigbus.cc30 int res = getrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec()
34 res = setrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec()
/external/llvm-project/compiler-rt/test/asan/TestCases/Linux/
Dstack-overflow-recovery-mode.cpp20 int res = getrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec()
24 res = setrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec()
Dstack-overflow-sigbus.cpp30 int res = getrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec()
34 res = setrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec()
/external/compiler-rt/test/asan/TestCases/Posix/
Dstack-overflow.cc92 int res = getrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec()
96 res = setrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec()
/external/llvm-project/compiler-rt/test/asan/TestCases/Posix/
Dstack-overflow.cpp94 int res = getrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec()
98 res = setrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec()
/external/mksh/src/
Drlimits.gen43 #ifdef RLIMIT_STACK
44 FN("stack(KiB)", RLIMIT_STACK, 1024, 's')
171 #ifdef RLIMIT_STACK
Drlimits.opt47 >s|RLIMIT_STACK
48 FN("stack(KiB)", RLIMIT_STACK, 1024
/external/llvm-project/clang/tools/driver/
Dcc1_main.cpp138 if (getrlimit(RLIMIT_STACK, &rlim) != 0) in ensureSufficientStack()
154 if (setrlimit(RLIMIT_STACK, &rlim) != 0 || in ensureSufficientStack()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix_libcdep.cc97 rlim_t stack_size = getlim(RLIMIT_STACK); in StackSizeIsUnlimited()
102 return (uptr)getlim(RLIMIT_STACK); in GetStackSizeLimitInBytes()
106 setlim(RLIMIT_STACK, (rlim_t)limit); in SetStackSizeLimitInBytes()
/external/kernel-headers/original/uapi/asm-generic/
Dresource.h19 #define RLIMIT_STACK 3 /* max stack size */ macro
/external/ltp/testcases/kernel/syscalls/setrlimit/
Dsetrlimit04.c34 SAFE_SETRLIMIT(RLIMIT_STACK, &rlim); in test_setrlimit()
/external/llvm-project/openmp/runtime/test/misc_bugs/
Dstack-propagate.c46 status = getrlimit(RLIMIT_STACK, &rlim); in main()
/external/compiler-rt/test/esan/TestCases/
Dlarge-stack-linux.c17 Res = setrlimit(RLIMIT_STACK, &Limit); in testChildStackLimit()
/external/ltp/testcases/kernel/syscalls/getrlimit/
Dgetrlimit01.c42 {RLIMIT_STACK, "RLIMIT_STACK"},
/external/python/cpython2/Modules/
Dresource.c282 #ifdef RLIMIT_STACK in initresource()
283 PyModule_AddIntConstant(m, "RLIMIT_STACK", RLIMIT_STACK); in initresource()
/external/python/cpython3/Modules/
Dresource.c382 #ifdef RLIMIT_STACK in resource_exec()
383 ADD_INT(module, RLIMIT_STACK); in resource_exec()
/external/ltp/testcases/kernel/mem/thp/
Dthp01.c127 SAFE_SETRLIMIT(RLIMIT_STACK, &rl); in setup()
/external/toybox/toys/posix/
Dulimit.c71 RLIMIT_RTTIME, RLIMIT_RTPRIO, RLIMIT_STACK, RLIMIT_CPU, RLIMIT_NPROC, in ulimit_main()
/external/compiler-rt/lib/safestack/
Dsafestack.cc217 if (getrlimit(RLIMIT_STACK, &limit) == 0 && limit.rlim_cur != RLIM_INFINITY) in __safestack_init()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix_libcdep.cpp112 rlim_t stack_size = getlim(RLIMIT_STACK); in StackSizeIsUnlimited()
117 setlim(RLIMIT_STACK, (rlim_t)limit); in SetStackSizeLimitInBytes()
/external/ltp/testcases/kernel/syscalls/mincore/
Dmincore01.c123 if (setrlimit(RLIMIT_STACK, &limit) != 0) in setup2()
/external/ltp/testcases/cve/
Dstack_clash.c143 SAFE_SETRLIMIT(RLIMIT_STACK, &rlimit); in do_child()

123