Home
last modified time | relevance | path

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

/linux-6.6.21/arch/um/os-Linux/
Dmain.c30 if (getrlimit(RLIMIT_STACK, &lim) < 0) { in set_stklim()
36 if (setrlimit(RLIMIT_STACK, &lim) < 0) { in set_stklim()
/linux-6.6.21/include/uapi/asm-generic/
Dresource.h19 #define RLIMIT_STACK 3 /* max stack size */ macro
/linux-6.6.21/include/asm-generic/
Dresource.h16 [RLIMIT_STACK] = { _STK_LIM, RLIM_INFINITY }, \
/linux-6.6.21/tools/testing/selftests/powerpc/mm/
Dstack_expansion_ldst.c177 getrlimit(RLIMIT_STACK, &rlimit); in test()
/linux-6.6.21/arch/x86/kernel/
Dshstk.c132 return PAGE_ALIGN(min_t(unsigned long long, rlimit(RLIMIT_STACK), SZ_4G)); in adjust_shstk_size()
/linux-6.6.21/arch/parisc/kernel/
Dsys_parisc.c86 : rlimit_max(RLIMIT_STACK); in mmap_upper_limit()
/linux-6.6.21/arch/ia64/mm/
Dinit.c96 unsigned long stack_size = rlimit_max(RLIMIT_STACK) & -16; in ia64_set_rbs_bot()
/linux-6.6.21/Documentation/arch/x86/
Dshstk.rst121 MIN(RLIMIT_STACK, 4 GB). In other words, the shadow stack is allocated to
/linux-6.6.21/fs/
Dexec.c380 bprm->rlim_stack = current->signal->rlim[RLIMIT_STACK]; in bprm_mm_init()
1467 current->signal->rlim[RLIMIT_STACK] = bprm->rlim_stack; in finalize_exec()
/linux-6.6.21/mm/
DKconfig967 arch) when the RLIMIT_STACK hard limit is unlimited.
Dmmap.c1924 if (size > rlimit(RLIMIT_STACK)) in acct_stack_growth()
/linux-6.6.21/fs/proc/
Dbase.c580 [RLIMIT_STACK] = {"Max stack size", "bytes"},