resource.h revision 655a7c081f83b8351ed5f11a6c6accd9458293a8
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 ***   To edit the content of this header, modify the corresponding
11 ***   source file (e.g. under external/kernel-headers/original/) then
12 ***   run bionic/libc/kernel/tools/update_all.py
13 ***
14 ***   Any manual change here will be lost the next time this script will
15 ***   be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _UAPI_ASM_GENERIC_RESOURCE_H
20#define _UAPI_ASM_GENERIC_RESOURCE_H
21#define RLIMIT_CPU 0
22#define RLIMIT_FSIZE 1
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#define RLIMIT_DATA 2
25#define RLIMIT_STACK 3
26#define RLIMIT_CORE 4
27#ifndef RLIMIT_RSS
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29#define RLIMIT_RSS 5
30#endif
31#ifndef RLIMIT_NPROC
32#define RLIMIT_NPROC 6
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34#endif
35#ifndef RLIMIT_NOFILE
36#define RLIMIT_NOFILE 7
37#endif
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39#ifndef RLIMIT_MEMLOCK
40#define RLIMIT_MEMLOCK 8
41#endif
42#ifndef RLIMIT_AS
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44#define RLIMIT_AS 9
45#endif
46#define RLIMIT_LOCKS 10
47#define RLIMIT_SIGPENDING 11
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49#define RLIMIT_MSGQUEUE 12
50#define RLIMIT_NICE 13
51#define RLIMIT_RTPRIO 14
52#define RLIMIT_RTTIME 15
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54#define RLIM_NLIMITS 16
55#ifndef RLIM_INFINITY
56#define RLIM_INFINITY (~0UL)
57#endif
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59#ifndef _STK_LIM_MAX
60#define _STK_LIM_MAX RLIM_INFINITY
61#endif
62#endif
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64