1 /****************************************************************************
2 ****************************************************************************
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.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _ASM_GENERIC_RESOURCE_H
13 #define _ASM_GENERIC_RESOURCE_H
16 #define RLIMIT_FSIZE 1
18 #define RLIMIT_STACK 3
26 #define RLIMIT_NPROC 6
30 #define RLIMIT_NOFILE 7
33 #ifndef RLIMIT_MEMLOCK
34 #define RLIMIT_MEMLOCK 8
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
47 #define RLIM_NLIMITS 15
50 #define RLIM_INFINITY (~0UL)
54 #define _STK_LIM_MAX RLIM_INFINITY