Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is auto-generated. Modifications will be lost. |
| 3 | * |
| 4 | * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ |
| 5 | * for more information. |
| 6 | */ |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 7 | #ifndef _UAPI_ASM_GENERIC_RESOURCE_H |
| 8 | #define _UAPI_ASM_GENERIC_RESOURCE_H |
| 9 | #define RLIMIT_CPU 0 |
| 10 | #define RLIMIT_FSIZE 1 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 11 | #define RLIMIT_DATA 2 |
| 12 | #define RLIMIT_STACK 3 |
| 13 | #define RLIMIT_CORE 4 |
| 14 | #ifndef RLIMIT_RSS |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 15 | #define RLIMIT_RSS 5 |
| 16 | #endif |
| 17 | #ifndef RLIMIT_NPROC |
| 18 | #define RLIMIT_NPROC 6 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 19 | #endif |
| 20 | #ifndef RLIMIT_NOFILE |
| 21 | #define RLIMIT_NOFILE 7 |
| 22 | #endif |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 23 | #ifndef RLIMIT_MEMLOCK |
| 24 | #define RLIMIT_MEMLOCK 8 |
| 25 | #endif |
| 26 | #ifndef RLIMIT_AS |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 27 | #define RLIMIT_AS 9 |
| 28 | #endif |
| 29 | #define RLIMIT_LOCKS 10 |
| 30 | #define RLIMIT_SIGPENDING 11 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 31 | #define RLIMIT_MSGQUEUE 12 |
| 32 | #define RLIMIT_NICE 13 |
| 33 | #define RLIMIT_RTPRIO 14 |
| 34 | #define RLIMIT_RTTIME 15 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 35 | #define RLIM_NLIMITS 16 |
| 36 | #ifndef RLIM_INFINITY |
| 37 | #define RLIM_INFINITY (~0UL) |
| 38 | #endif |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 39 | #endif |