Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/powerpc/ptrace/
H A Dcore-pkey.c40 #define CORE_FILE_LIMIT (5 * 1024 * 1024) /* 5 MB should be enough */ macro
82 if (rlim.rlim_cur != RLIM_INFINITY && rlim.rlim_cur < CORE_FILE_LIMIT) { in increase_core_file_limit()
83 rlim.rlim_cur = CORE_FILE_LIMIT; in increase_core_file_limit()
86 rlim.rlim_max < CORE_FILE_LIMIT) in increase_core_file_limit()
87 rlim.rlim_max = CORE_FILE_LIMIT; in increase_core_file_limit()
96 if (rlim.rlim_cur != RLIM_INFINITY && rlim.rlim_cur < CORE_FILE_LIMIT) { in increase_core_file_limit()
97 rlim.rlim_cur = CORE_FILE_LIMIT; in increase_core_file_limit()
100 rlim.rlim_max < CORE_FILE_LIMIT) in increase_core_file_limit()
101 rlim.rlim_max = CORE_FILE_LIMIT; in increase_core_file_limit()