Home
last modified time | relevance | path

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

/openbmc/linux/arch/um/os-Linux/
H A Dmain.c30 if (getrlimit(RLIMIT_STACK, &lim) < 0) { in set_stklim()
36 if (setrlimit(RLIMIT_STACK, &lim) < 0) { in set_stklim()
/openbmc/linux/include/uapi/asm-generic/
H A Dresource.h19 #define RLIMIT_STACK 3 /* max stack size */ macro
/openbmc/linux/include/asm-generic/
H A Dresource.h16 [RLIMIT_STACK] = { _STK_LIM, RLIM_INFINITY }, \
/openbmc/qemu/bsd-user/
H A Dbsd-proc.h146 case RLIMIT_STACK: in do_bsd_getrlimit()
181 if (RLIMIT_STACK == resource) { in do_bsd_setrlimit()
H A Dmain.c241 if (getrlimit(RLIMIT_STACK, &rl) != 0) { in adjust_ssize()
250 setrlimit(RLIMIT_STACK, &rl); in adjust_ssize()
/openbmc/linux/tools/testing/selftests/powerpc/mm/
H A Dstack_expansion_ldst.c177 getrlimit(RLIMIT_STACK, &rlimit); in test()
/openbmc/linux/arch/x86/kernel/
H A Dshstk.c132 return PAGE_ALIGN(min_t(unsigned long long, rlimit(RLIMIT_STACK), SZ_4G)); in adjust_shstk_size()
/openbmc/linux/arch/parisc/kernel/
H A Dsys_parisc.c86 : rlimit_max(RLIMIT_STACK); in mmap_upper_limit()
/openbmc/linux/arch/ia64/mm/
H A Dinit.c96 unsigned long stack_size = rlimit_max(RLIMIT_STACK) & -16; in ia64_set_rbs_bot()
/openbmc/qemu/linux-user/
H A Dmain.c727 if (getrlimit(RLIMIT_STACK, &lim) == 0 in main()
H A Dstrace.c4105 RET_RES_ENTRY(RLIMIT_STACK); in target_ressource_string()
H A Dsyscall.c1086 return RLIMIT_STACK; in target_to_host_resource()
10404 resource != RLIMIT_STACK) { in _syscall2()
13428 resource != RLIMIT_STACK)) { in _syscall2()
/openbmc/linux/Documentation/arch/x86/
H A Dshstk.rst121 MIN(RLIMIT_STACK, 4 GB). In other words, the shadow stack is allocated to
/openbmc/linux/fs/
H A Dexec.c378 bprm->rlim_stack = current->signal->rlim[RLIMIT_STACK]; in bprm_mm_init()
1487 current->signal->rlim[RLIMIT_STACK] = bprm->rlim_stack; in finalize_exec()
/openbmc/linux/mm/
H A Dmmap.c1931 if (size > rlimit(RLIMIT_STACK)) in acct_stack_growth()
H A DKconfig991 arch) when the RLIMIT_STACK hard limit is unlimited.
/openbmc/linux/fs/proc/
H A Dbase.c615 [RLIMIT_STACK] = {"Max stack size", "bytes"},