1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef _ASM_GENERIC_RESOURCE_H 3 #define _ASM_GENERIC_RESOURCE_H 4 5 #include <uapi/asm-generic/resource.h> 6 7 8 /* 9 * boot-time rlimit defaults for the init task 10 */ 11 #define INIT_RLIMITS 12 { 13 [RLIMIT_CPU] = { RLIM_INFI 14 [RLIMIT_FSIZE] = { RLIM_INFI 15 [RLIMIT_DATA] = { RLIM_INFI 16 [RLIMIT_STACK] = { _STK 17 [RLIMIT_CORE] = { 18 [RLIMIT_RSS] = { RLIM_INFI 19 [RLIMIT_NPROC] = { 20 [RLIMIT_NOFILE] = { INR_OPEN 21 [RLIMIT_MEMLOCK] = { MLOCK_L 22 [RLIMIT_AS] = { RLIM_INFI 23 [RLIMIT_LOCKS] = { RLIM_INFI 24 [RLIMIT_SIGPENDING] = { 25 [RLIMIT_MSGQUEUE] = { MQ_BYTES 26 [RLIMIT_NICE] = { 0, 0 }, 27 [RLIMIT_RTPRIO] = { 0, 0 }, 28 [RLIMIT_RTTIME] = { RLIM_INFI 29 } 30 31 #endif 32
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.