2009-03-04 04:28:35 +01:00
|
|
|
/****************************************************************************
|
|
|
|
****************************************************************************
|
|
|
|
***
|
|
|
|
*** This header was automatically generated from a Linux kernel header
|
|
|
|
*** of the same name, to make information necessary for userspace to
|
|
|
|
*** call into the kernel available to libc. It contains only constants,
|
|
|
|
*** structures, and macros generated from the original header, and thus,
|
|
|
|
*** contains no copyrightable information.
|
|
|
|
***
|
2011-06-22 02:49:32 +02:00
|
|
|
*** 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!
|
|
|
|
***
|
2009-03-04 04:28:35 +01:00
|
|
|
****************************************************************************
|
|
|
|
****************************************************************************/
|
|
|
|
#ifndef _ASM_GENERIC_RESOURCE_H
|
|
|
|
#define _ASM_GENERIC_RESOURCE_H
|
2013-01-30 03:15:55 +01:00
|
|
|
#define RLIMIT_CPU 0
|
|
|
|
#define RLIMIT_FSIZE 1
|
2011-06-22 02:49:32 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-01-30 03:15:55 +01:00
|
|
|
#define RLIMIT_DATA 2
|
|
|
|
#define RLIMIT_STACK 3
|
|
|
|
#define RLIMIT_CORE 4
|
2009-03-04 04:28:35 +01:00
|
|
|
#ifndef RLIMIT_RSS
|
2011-06-22 02:49:32 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-01-30 03:15:55 +01:00
|
|
|
#define RLIMIT_RSS 5
|
2009-03-04 04:28:35 +01:00
|
|
|
#endif
|
|
|
|
#ifndef RLIMIT_NPROC
|
2013-01-30 03:15:55 +01:00
|
|
|
#define RLIMIT_NPROC 6
|
2011-06-22 02:49:32 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
#endif
|
|
|
|
#ifndef RLIMIT_NOFILE
|
2013-01-30 03:15:55 +01:00
|
|
|
#define RLIMIT_NOFILE 7
|
2009-03-04 04:28:35 +01:00
|
|
|
#endif
|
2011-06-22 02:49:32 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
#ifndef RLIMIT_MEMLOCK
|
2013-01-30 03:15:55 +01:00
|
|
|
#define RLIMIT_MEMLOCK 8
|
2009-03-04 04:28:35 +01:00
|
|
|
#endif
|
|
|
|
#ifndef RLIMIT_AS
|
2011-06-22 02:49:32 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-01-30 03:15:55 +01:00
|
|
|
#define RLIMIT_AS 9
|
2009-03-04 04:28:35 +01:00
|
|
|
#endif
|
2013-01-30 03:15:55 +01:00
|
|
|
#define RLIMIT_LOCKS 10
|
|
|
|
#define RLIMIT_SIGPENDING 11
|
2011-06-22 02:49:32 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-01-30 03:15:55 +01:00
|
|
|
#define RLIMIT_MSGQUEUE 12
|
|
|
|
#define RLIMIT_NICE 13
|
|
|
|
#define RLIMIT_RTPRIO 14
|
|
|
|
#define RLIMIT_RTTIME 15
|
2011-06-22 02:49:32 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define RLIM_NLIMITS 16
|
2009-03-04 04:28:35 +01:00
|
|
|
#ifndef RLIM_INFINITY
|
|
|
|
#define RLIM_INFINITY (~0UL)
|
|
|
|
#endif
|
2011-06-22 02:49:32 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
#ifndef _STK_LIM_MAX
|
|
|
|
#define _STK_LIM_MAX RLIM_INFINITY
|
|
|
|
#endif
|
|
|
|
#endif
|
2011-06-22 02:49:32 +02:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|