Searched refs:RLIMIT_STACK (Results 1 – 12 of 12) sorted by relevance
/linux-6.6.21/arch/um/os-Linux/ |
D | main.c | 30 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/ |
D | resource.h | 19 #define RLIMIT_STACK 3 /* max stack size */ macro
|
/linux-6.6.21/include/asm-generic/ |
D | resource.h | 16 [RLIMIT_STACK] = { _STK_LIM, RLIM_INFINITY }, \
|
/linux-6.6.21/tools/testing/selftests/powerpc/mm/ |
D | stack_expansion_ldst.c | 177 getrlimit(RLIMIT_STACK, &rlimit); in test()
|
/linux-6.6.21/arch/x86/kernel/ |
D | shstk.c | 132 return PAGE_ALIGN(min_t(unsigned long long, rlimit(RLIMIT_STACK), SZ_4G)); in adjust_shstk_size()
|
/linux-6.6.21/arch/parisc/kernel/ |
D | sys_parisc.c | 86 : rlimit_max(RLIMIT_STACK); in mmap_upper_limit()
|
/linux-6.6.21/arch/ia64/mm/ |
D | init.c | 96 unsigned long stack_size = rlimit_max(RLIMIT_STACK) & -16; in ia64_set_rbs_bot()
|
/linux-6.6.21/Documentation/arch/x86/ |
D | shstk.rst | 121 MIN(RLIMIT_STACK, 4 GB). In other words, the shadow stack is allocated to
|
/linux-6.6.21/fs/ |
D | exec.c | 380 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/ |
D | Kconfig | 967 arch) when the RLIMIT_STACK hard limit is unlimited.
|
D | mmap.c | 1924 if (size > rlimit(RLIMIT_STACK)) in acct_stack_growth()
|
/linux-6.6.21/fs/proc/ |
D | base.c | 580 [RLIMIT_STACK] = {"Max stack size", "bytes"},
|