Home
last modified time | relevance | path

Searched refs:RLIMIT_STACK (Results 1 – 25 of 73) 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/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/python/cpython3/Lib/test/libregrtest/
Dsetup.py75 soft, hard = resource.getrlimit(resource.RLIMIT_STACK)
77 resource.setrlimit(resource.RLIMIT_STACK, (newsoft, hard))
/external/mksh/src/
Drlimits.gen43 #ifdef RLIMIT_STACK
44 FN("stack(KiB)", RLIMIT_STACK, 1024, 's')
162 #ifdef RLIMIT_STACK
Drlimits.opt47 >s|RLIMIT_STACK
48 FN("stack(KiB)", RLIMIT_STACK, 1024
/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.c44 SAFE_SETRLIMIT(RLIMIT_STACK, &rlim); in test_setrlimit()
/external/python/cpython2/Modules/
Dresource.c282 #ifdef RLIMIT_STACK in initresource()
283 PyModule_AddIntConstant(m, "RLIMIT_STACK", RLIMIT_STACK); in initresource()
/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/cpython3/Modules/
Dresource.c384 #ifdef RLIMIT_STACK in PyInit_resource()
385 PyModule_AddIntMacro(m, RLIMIT_STACK); in PyInit_resource()
/external/toybox/toys/posix/
Dulimit.c67 RLIMIT_MSGQUEUE, RLIMIT_RTTIME, RLIMIT_RTPRIO, RLIMIT_STACK, in ulimit_main()
/external/ltp/testcases/kernel/mem/thp/
Dthp01.c136 SAFE_SETRLIMIT(RLIMIT_STACK, &rl); in setup()
/external/syzkaller/executor/
Dexecutor_bsd.h36 setrlimit(RLIMIT_STACK, &rlim); in os_init()
/external/syzkaller/sys/netbsd/
Dsys_amd64.const75 RLIMIT_STACK = 3
/external/syzkaller/sys/freebsd/
Dsys_amd64.const96 RLIMIT_STACK = 3
/external/compiler-rt/lib/safestack/
Dsafestack.cc217 if (getrlimit(RLIMIT_STACK, &limit) == 0 && limit.rlim_cur != RLIM_INFINITY) in __safestack_init()
/external/ltp/testcases/kernel/syscalls/mincore/
Dmincore01.c123 if (setrlimit(RLIMIT_STACK, &limit) != 0) in setup2()
/external/ltp/testcases/cve/
Dstack_clash.c157 SAFE_SETRLIMIT(RLIMIT_STACK, &rlimit); in do_child()
/external/libunwind/tests/
DGperf-simple.c239 setrlimit (RLIMIT_STACK, &rlim); in main()
DGperf-trace.c225 setrlimit (RLIMIT_STACK, &rlim); in main()

123