1 /* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6 #ifndef _UAPI_ASM_GENERIC_RESOURCE_H 7 #define _UAPI_ASM_GENERIC_RESOURCE_H 8 #define RLIMIT_CPU 0 9 #define RLIMIT_FSIZE 1 10 #define RLIMIT_DATA 2 11 #define RLIMIT_STACK 3 12 #define RLIMIT_CORE 4 13 #ifndef RLIMIT_RSS 14 # define RLIMIT_RSS 5 15 #endif 16 #ifndef RLIMIT_NPROC 17 # define RLIMIT_NPROC 6 18 #endif 19 #ifndef RLIMIT_NOFILE 20 # define RLIMIT_NOFILE 7 21 #endif 22 #ifndef RLIMIT_MEMLOCK 23 # define RLIMIT_MEMLOCK 8 24 #endif 25 #ifndef RLIMIT_AS 26 # define RLIMIT_AS 9 27 #endif 28 #define RLIMIT_LOCKS 10 29 #define RLIMIT_SIGPENDING 11 30 #define RLIMIT_MSGQUEUE 12 31 #define RLIMIT_NICE 13 32 #define RLIMIT_RTPRIO 14 33 #define RLIMIT_RTTIME 15 34 #define RLIM_NLIMITS 16 35 #ifndef RLIM_INFINITY 36 # define RLIM_INFINITY (~0UL) 37 #endif 38 #endif 39