Re-generate resource.h from Linux 2.6.39
Change-Id: I22534914a4ae042ece4933bd372aafbc9129ab59
This commit is contained in:
parent
ff03fb25f7
commit
31b1221c2f
@ -7,51 +7,57 @@
|
|||||||
*** structures, and macros generated from the original header, and thus,
|
*** structures, and macros generated from the original header, and thus,
|
||||||
*** contains no copyrightable information.
|
*** contains no copyrightable information.
|
||||||
***
|
***
|
||||||
|
*** To edit the content of this header, modify the corresponding
|
||||||
|
*** source file (e.g. under external/kernel-headers/original/) then
|
||||||
|
*** run bionic/libc/kernel/tools/update_all.py
|
||||||
|
***
|
||||||
|
*** Any manual change here will be lost the next time this script will
|
||||||
|
*** be run. You've been warned!
|
||||||
|
***
|
||||||
****************************************************************************
|
****************************************************************************
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
#ifndef _ASM_GENERIC_RESOURCE_H
|
#ifndef _ASM_GENERIC_RESOURCE_H
|
||||||
#define _ASM_GENERIC_RESOURCE_H
|
#define _ASM_GENERIC_RESOURCE_H
|
||||||
|
|
||||||
#define RLIMIT_CPU 0
|
#define RLIMIT_CPU 0
|
||||||
#define RLIMIT_FSIZE 1
|
#define RLIMIT_FSIZE 1
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
#define RLIMIT_DATA 2
|
#define RLIMIT_DATA 2
|
||||||
#define RLIMIT_STACK 3
|
#define RLIMIT_STACK 3
|
||||||
#define RLIMIT_CORE 4
|
#define RLIMIT_CORE 4
|
||||||
|
|
||||||
#ifndef RLIMIT_RSS
|
#ifndef RLIMIT_RSS
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
#define RLIMIT_RSS 5
|
#define RLIMIT_RSS 5
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef RLIMIT_NPROC
|
#ifndef RLIMIT_NPROC
|
||||||
#define RLIMIT_NPROC 6
|
#define RLIMIT_NPROC 6
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef RLIMIT_NOFILE
|
#ifndef RLIMIT_NOFILE
|
||||||
#define RLIMIT_NOFILE 7
|
#define RLIMIT_NOFILE 7
|
||||||
#endif
|
#endif
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
#ifndef RLIMIT_MEMLOCK
|
#ifndef RLIMIT_MEMLOCK
|
||||||
#define RLIMIT_MEMLOCK 8
|
#define RLIMIT_MEMLOCK 8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef RLIMIT_AS
|
#ifndef RLIMIT_AS
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
#define RLIMIT_AS 9
|
#define RLIMIT_AS 9
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define RLIMIT_LOCKS 10
|
#define RLIMIT_LOCKS 10
|
||||||
#define RLIMIT_SIGPENDING 11
|
#define RLIMIT_SIGPENDING 11
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
#define RLIMIT_MSGQUEUE 12
|
#define RLIMIT_MSGQUEUE 12
|
||||||
#define RLIMIT_NICE 13
|
#define RLIMIT_NICE 13
|
||||||
#define RLIMIT_RTPRIO 14
|
#define RLIMIT_RTPRIO 14
|
||||||
|
#define RLIMIT_RTTIME 15
|
||||||
#define RLIM_NLIMITS 15
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define RLIM_NLIMITS 16
|
||||||
#ifndef RLIM_INFINITY
|
#ifndef RLIM_INFINITY
|
||||||
#define RLIM_INFINITY (~0UL)
|
#define RLIM_INFINITY (~0UL)
|
||||||
#endif
|
#endif
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
#ifndef _STK_LIM_MAX
|
#ifndef _STK_LIM_MAX
|
||||||
#define _STK_LIM_MAX RLIM_INFINITY
|
#define _STK_LIM_MAX RLIM_INFINITY
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
Loading…
Reference in New Issue
Block a user