Searched refs:RLIMIT_STACK (Results 1 – 17 of 17) sorted by relevance
/openbmc/linux/arch/um/os-Linux/ |
H A D | main.c | 30 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 D | resource.h | 19 #define RLIMIT_STACK 3 /* max stack size */ macro
|
/openbmc/linux/include/asm-generic/ |
H A D | resource.h | 16 [RLIMIT_STACK] = { _STK_LIM, RLIM_INFINITY }, \
|
/openbmc/qemu/bsd-user/ |
H A D | bsd-proc.h | 146 case RLIMIT_STACK: in do_bsd_getrlimit() 181 if (RLIMIT_STACK == resource) { in do_bsd_setrlimit()
|
H A D | main.c | 241 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 D | stack_expansion_ldst.c | 177 getrlimit(RLIMIT_STACK, &rlimit); in test()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | shstk.c | 132 return PAGE_ALIGN(min_t(unsigned long long, rlimit(RLIMIT_STACK), SZ_4G)); in adjust_shstk_size()
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | sys_parisc.c | 86 : rlimit_max(RLIMIT_STACK); in mmap_upper_limit()
|
/openbmc/linux/arch/ia64/mm/ |
H A D | init.c | 96 unsigned long stack_size = rlimit_max(RLIMIT_STACK) & -16; in ia64_set_rbs_bot()
|
/openbmc/qemu/linux-user/ |
H A D | main.c | 727 if (getrlimit(RLIMIT_STACK, &lim) == 0 in main()
|
H A D | strace.c | 4105 RET_RES_ENTRY(RLIMIT_STACK); in target_ressource_string()
|
H A D | syscall.c | 1086 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 D | shstk.rst | 121 MIN(RLIMIT_STACK, 4 GB). In other words, the shadow stack is allocated to
|
/openbmc/linux/fs/ |
H A D | exec.c | 378 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 D | mmap.c | 1931 if (size > rlimit(RLIMIT_STACK)) in acct_stack_growth()
|
H A D | Kconfig | 991 arch) when the RLIMIT_STACK hard limit is unlimited.
|
/openbmc/linux/fs/proc/ |
H A D | base.c | 615 [RLIMIT_STACK] = {"Max stack size", "bytes"},
|