/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/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/python/cpython3/Lib/test/libregrtest/ |
D | setup.py | 75 soft, hard = resource.getrlimit(resource.RLIMIT_STACK) 77 resource.setrlimit(resource.RLIMIT_STACK, (newsoft, hard))
|
/external/mksh/src/ |
D | rlimits.gen | 43 #ifdef RLIMIT_STACK 44 FN("stack(KiB)", RLIMIT_STACK, 1024, 's') 162 #ifdef RLIMIT_STACK
|
D | rlimits.opt | 47 >s|RLIMIT_STACK 48 FN("stack(KiB)", RLIMIT_STACK, 1024
|
/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 | 44 SAFE_SETRLIMIT(RLIMIT_STACK, &rlim); in test_setrlimit()
|
/external/python/cpython2/Modules/ |
D | resource.c | 282 #ifdef RLIMIT_STACK in initresource() 283 PyModule_AddIntConstant(m, "RLIMIT_STACK", RLIMIT_STACK); in initresource()
|
/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/cpython3/Modules/ |
D | resource.c | 384 #ifdef RLIMIT_STACK in PyInit_resource() 385 PyModule_AddIntMacro(m, RLIMIT_STACK); in PyInit_resource()
|
/external/toybox/toys/posix/ |
D | ulimit.c | 67 RLIMIT_MSGQUEUE, RLIMIT_RTTIME, RLIMIT_RTPRIO, RLIMIT_STACK, in ulimit_main()
|
/external/ltp/testcases/kernel/mem/thp/ |
D | thp01.c | 136 SAFE_SETRLIMIT(RLIMIT_STACK, &rl); in setup()
|
/external/syzkaller/executor/ |
D | executor_bsd.h | 36 setrlimit(RLIMIT_STACK, &rlim); in os_init()
|
/external/syzkaller/sys/netbsd/ |
D | sys_amd64.const | 75 RLIMIT_STACK = 3
|
/external/syzkaller/sys/freebsd/ |
D | sys_amd64.const | 96 RLIMIT_STACK = 3
|
/external/compiler-rt/lib/safestack/ |
D | safestack.cc | 217 if (getrlimit(RLIMIT_STACK, &limit) == 0 && limit.rlim_cur != RLIM_INFINITY) in __safestack_init()
|
/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 | 157 SAFE_SETRLIMIT(RLIMIT_STACK, &rlimit); in do_child()
|
/external/libunwind/tests/ |
D | Gperf-simple.c | 239 setrlimit (RLIMIT_STACK, &rlim); in main()
|
D | Gperf-trace.c | 225 setrlimit (RLIMIT_STACK, &rlim); in main()
|