/external/strace/xlat/ |
D | resources.h | 27 #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),
|
D | resources.in | 5 RLIMIT_STACK 3
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | stack-overflow-recovery-mode.cc | 20 int res = getrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec() 24 res = setrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec()
|
D | stack-overflow-sigbus.cc | 30 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/ |
D | stack-overflow-recovery-mode.cpp | 20 int res = getrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec() 24 res = setrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec()
|
D | stack-overflow-sigbus.cpp | 30 int res = getrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec() 34 res = setrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec()
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
D | stack-overflow.cc | 92 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/ |
D | stack-overflow.cpp | 94 int res = getrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec() 98 res = setrlimit(RLIMIT_STACK, &rlim); in LimitStackAndReexec()
|
/external/mksh/src/ |
D | rlimits.gen | 43 #ifdef RLIMIT_STACK 44 FN("stack(KiB)", RLIMIT_STACK, 1024, 's') 171 #ifdef RLIMIT_STACK
|
D | rlimits.opt | 47 >s|RLIMIT_STACK 48 FN("stack(KiB)", RLIMIT_STACK, 1024
|
/external/llvm-project/clang/tools/driver/ |
D | cc1_main.cpp | 138 if (getrlimit(RLIMIT_STACK, &rlim) != 0) in ensureSufficientStack() 154 if (setrlimit(RLIMIT_STACK, &rlim) != 0 || in ensureSufficientStack()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix_libcdep.cc | 97 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/ |
D | resource.h | 19 #define RLIMIT_STACK 3 /* max stack size */ macro
|
/external/ltp/testcases/kernel/syscalls/setrlimit/ |
D | setrlimit04.c | 34 SAFE_SETRLIMIT(RLIMIT_STACK, &rlim); in test_setrlimit()
|
/external/llvm-project/openmp/runtime/test/misc_bugs/ |
D | stack-propagate.c | 46 status = getrlimit(RLIMIT_STACK, &rlim); in main()
|
/external/compiler-rt/test/esan/TestCases/ |
D | large-stack-linux.c | 17 Res = setrlimit(RLIMIT_STACK, &Limit); in testChildStackLimit()
|
/external/ltp/testcases/kernel/syscalls/getrlimit/ |
D | getrlimit01.c | 42 {RLIMIT_STACK, "RLIMIT_STACK"},
|
/external/python/cpython2/Modules/ |
D | resource.c | 282 #ifdef RLIMIT_STACK in initresource() 283 PyModule_AddIntConstant(m, "RLIMIT_STACK", RLIMIT_STACK); in initresource()
|
/external/python/cpython3/Modules/ |
D | resource.c | 382 #ifdef RLIMIT_STACK in resource_exec() 383 ADD_INT(module, RLIMIT_STACK); in resource_exec()
|
/external/ltp/testcases/kernel/mem/thp/ |
D | thp01.c | 127 SAFE_SETRLIMIT(RLIMIT_STACK, &rl); in setup()
|
/external/toybox/toys/posix/ |
D | ulimit.c | 71 RLIMIT_RTTIME, RLIMIT_RTPRIO, RLIMIT_STACK, RLIMIT_CPU, RLIMIT_NPROC, in ulimit_main()
|
/external/compiler-rt/lib/safestack/ |
D | safestack.cc | 217 if (getrlimit(RLIMIT_STACK, &limit) == 0 && limit.rlim_cur != RLIM_INFINITY) in __safestack_init()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix_libcdep.cpp | 112 rlim_t stack_size = getlim(RLIMIT_STACK); in StackSizeIsUnlimited() 117 setlim(RLIMIT_STACK, (rlim_t)limit); in SetStackSizeLimitInBytes()
|
/external/ltp/testcases/kernel/syscalls/mincore/ |
D | mincore01.c | 123 if (setrlimit(RLIMIT_STACK, &limit) != 0) in setup2()
|
/external/ltp/testcases/cve/ |
D | stack_clash.c | 143 SAFE_SETRLIMIT(RLIMIT_STACK, &rlimit); in do_child()
|