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 | */ |
Christopher Ferris | 24f97eb | 2019-05-20 12:58:13 -0700 | [diff] [blame] | 7 | #ifndef _UAPI_LINUX_LIMITS_H |
| 8 | #define _UAPI_LINUX_LIMITS_H |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 9 | #define NR_OPEN 1024 |
| 10 | #define NGROUPS_MAX 65536 |
Elliott Hughes | baed51e | 2017-11-15 15:14:35 -0800 | [diff] [blame] | 11 | #define ARG_MAX 131072 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 12 | #define LINK_MAX 127 |
| 13 | #define MAX_CANON 255 |
| 14 | #define MAX_INPUT 255 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 15 | #define NAME_MAX 255 |
| 16 | #define PATH_MAX 4096 |
| 17 | #define PIPE_BUF 4096 |
| 18 | #define XATTR_NAME_MAX 255 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 19 | #define XATTR_SIZE_MAX 65536 |
| 20 | #define XATTR_LIST_MAX 65536 |
| 21 | #define RTSIG_MAX 32 |
Nick Kralevich | a67e4de | 2013-01-14 11:28:26 -0800 | [diff] [blame] | 22 | #endif |