• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #define RLIMIT_DATA 2
24 #define RLIMIT_STACK 3
25 #define RLIMIT_CORE 4
26 #ifndef RLIMIT_RSS
27 #define RLIMIT_RSS 5
28 #endif
29 #ifndef RLIMIT_NPROC
30 #define RLIMIT_NPROC 6
31 #endif
32 #ifndef RLIMIT_NOFILE
33 #define RLIMIT_NOFILE 7
34 #endif
35 #ifndef RLIMIT_MEMLOCK
36 #define RLIMIT_MEMLOCK 8
37 #endif
38 #ifndef RLIMIT_AS
39 #define RLIMIT_AS 9
40 #endif
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 #define RLIM_NLIMITS 16
48 #ifndef RLIM_INFINITY
49 #define RLIM_INFINITY (~0UL)
50 #endif
51 #endif
52