blob: c49b476f9f22bdc6675efe01d8cfb2c936148a13 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
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 Kasten31b12212011-06-21 17:49:32 -070010 *** 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 Project1dc9e472009-03-03 19:28:35 -080017 ****************************************************************************
18 ****************************************************************************/
19#ifndef _ASM_GENERIC_RESOURCE_H
20#define _ASM_GENERIC_RESOURCE_H
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080021#define RLIMIT_CPU 0
22#define RLIMIT_FSIZE 1
Glenn Kasten31b12212011-06-21 17:49:32 -070023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080024#define RLIMIT_DATA 2
25#define RLIMIT_STACK 3
26#define RLIMIT_CORE 4
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080027#ifndef RLIMIT_RSS
Glenn Kasten31b12212011-06-21 17:49:32 -070028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080029#define RLIMIT_RSS 5
30#endif
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080031#ifndef RLIMIT_NPROC
32#define RLIMIT_NPROC 6
Glenn Kasten31b12212011-06-21 17:49:32 -070033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080034#endif
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080035#ifndef RLIMIT_NOFILE
36#define RLIMIT_NOFILE 7
37#endif
Glenn Kasten31b12212011-06-21 17:49:32 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080039#ifndef RLIMIT_MEMLOCK
40#define RLIMIT_MEMLOCK 8
41#endif
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080042#ifndef RLIMIT_AS
Glenn Kasten31b12212011-06-21 17:49:32 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080044#define RLIMIT_AS 9
45#endif
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080046#define RLIMIT_LOCKS 10
47#define RLIMIT_SIGPENDING 11
Glenn Kasten31b12212011-06-21 17:49:32 -070048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080049#define RLIMIT_MSGQUEUE 12
50#define RLIMIT_NICE 13
51#define RLIMIT_RTPRIO 14
Glenn Kasten31b12212011-06-21 17:49:32 -070052#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 Project1dc9e472009-03-03 19:28:35 -080055#ifndef RLIM_INFINITY
56#define RLIM_INFINITY (~0UL)
57#endif
Glenn Kasten31b12212011-06-21 17:49:32 -070058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080059#ifndef _STK_LIM_MAX
60#define _STK_LIM_MAX RLIM_INFINITY
61#endif
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080062#endif
Glenn Kasten31b12212011-06-21 17:49:32 -070063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */