The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 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 | *** |
Glenn Kasten | 31b1221 | 2011-06-21 17:49:32 -0700 | [diff] [blame] | 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 | *** |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 17 | **************************************************************************** |
| 18 | ****************************************************************************/ |
| 19 | #ifndef _ASM_GENERIC_RESOURCE_H |
| 20 | #define _ASM_GENERIC_RESOURCE_H |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 21 | #define RLIMIT_CPU 0 |
| 22 | #define RLIMIT_FSIZE 1 |
Glenn Kasten | 31b1221 | 2011-06-21 17:49:32 -0700 | [diff] [blame] | 23 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 24 | #define RLIMIT_DATA 2 |
| 25 | #define RLIMIT_STACK 3 |
| 26 | #define RLIMIT_CORE 4 |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 27 | #ifndef RLIMIT_RSS |
Glenn Kasten | 31b1221 | 2011-06-21 17:49:32 -0700 | [diff] [blame] | 28 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 29 | #define RLIMIT_RSS 5 |
| 30 | #endif |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 31 | #ifndef RLIMIT_NPROC |
| 32 | #define RLIMIT_NPROC 6 |
Glenn Kasten | 31b1221 | 2011-06-21 17:49:32 -0700 | [diff] [blame] | 33 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 34 | #endif |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 35 | #ifndef RLIMIT_NOFILE |
| 36 | #define RLIMIT_NOFILE 7 |
| 37 | #endif |
Glenn Kasten | 31b1221 | 2011-06-21 17:49:32 -0700 | [diff] [blame] | 38 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 39 | #ifndef RLIMIT_MEMLOCK |
| 40 | #define RLIMIT_MEMLOCK 8 |
| 41 | #endif |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 42 | #ifndef RLIMIT_AS |
Glenn Kasten | 31b1221 | 2011-06-21 17:49:32 -0700 | [diff] [blame] | 43 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 44 | #define RLIMIT_AS 9 |
| 45 | #endif |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 46 | #define RLIMIT_LOCKS 10 |
| 47 | #define RLIMIT_SIGPENDING 11 |
Glenn Kasten | 31b1221 | 2011-06-21 17:49:32 -0700 | [diff] [blame] | 48 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 49 | #define RLIMIT_MSGQUEUE 12 |
| 50 | #define RLIMIT_NICE 13 |
| 51 | #define RLIMIT_RTPRIO 14 |
Glenn Kasten | 31b1221 | 2011-06-21 17:49:32 -0700 | [diff] [blame] | 52 | #define RLIMIT_RTTIME 15 |
| 53 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 54 | #define RLIM_NLIMITS 16 |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 55 | #ifndef RLIM_INFINITY |
| 56 | #define RLIM_INFINITY (~0UL) |
| 57 | #endif |
Glenn Kasten | 31b1221 | 2011-06-21 17:49:32 -0700 | [diff] [blame] | 58 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 59 | #ifndef _STK_LIM_MAX |
| 60 | #define _STK_LIM_MAX RLIM_INFINITY |
| 61 | #endif |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 62 | #endif |
Glenn Kasten | 31b1221 | 2011-06-21 17:49:32 -0700 | [diff] [blame] | 63 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |