1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 **************************************************************************** 11 ****************************************************************************/ 12 #ifndef _ASM_GENERIC_RESOURCE_H 13 #define _ASM_GENERIC_RESOURCE_H 14 15 #define RLIMIT_CPU 0 16 #define RLIMIT_FSIZE 1 17 #define RLIMIT_DATA 2 18 #define RLIMIT_STACK 3 19 #define RLIMIT_CORE 4 20 21 #ifndef RLIMIT_RSS 22 #define RLIMIT_RSS 5 23 #endif 24 25 #ifndef RLIMIT_NPROC 26 #define RLIMIT_NPROC 6 27 #endif 28 29 #ifndef RLIMIT_NOFILE 30 #define RLIMIT_NOFILE 7 31 #endif 32 33 #ifndef RLIMIT_MEMLOCK 34 #define RLIMIT_MEMLOCK 8 35 #endif 36 37 #ifndef RLIMIT_AS 38 #define RLIMIT_AS 9 39 #endif 40 41 #define RLIMIT_LOCKS 10 42 #define RLIMIT_SIGPENDING 11 43 #define RLIMIT_MSGQUEUE 12 44 #define RLIMIT_NICE 13 45 #define RLIMIT_RTPRIO 14 46 47 #define RLIM_NLIMITS 15 48 49 #ifndef RLIM_INFINITY 50 #define RLIM_INFINITY (~0UL) 51 #endif 52 53 #ifndef _STK_LIM_MAX 54 #define _STK_LIM_MAX RLIM_INFINITY 55 #endif 56 57 #endif 58