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#define RLIMIT_RTTIME 15
47
48#define RLIM_NLIMITS 16
49
50#ifndef RLIM_INFINITY
51#define RLIM_INFINITY (~0UL)
52#endif
53
54#ifndef _STK_LIM_MAX
55#define _STK_LIM_MAX RLIM_INFINITY
56#endif
57
58#endif
59