The Android Open Source Project | a27d2ba | 2008-10-21 07:00:00 -0700 | [diff] [blame^] | 1 | /**************************************************************************** |
| 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 | *** |
| 10 | **************************************************************************** |
| 11 | ****************************************************************************/ |
| 12 | #ifndef _LINUX_LIMITS_H |
| 13 | #define _LINUX_LIMITS_H |
| 14 | |
| 15 | #define NR_OPEN 1024 |
| 16 | |
| 17 | #define NGROUPS_MAX 65536 |
| 18 | #define ARG_MAX 131072 |
| 19 | #define CHILD_MAX 999 |
| 20 | #define OPEN_MAX 256 |
| 21 | #define LINK_MAX 127 |
| 22 | #define MAX_CANON 255 |
| 23 | #define MAX_INPUT 255 |
| 24 | #define NAME_MAX 255 |
| 25 | #define PATH_MAX 4096 |
| 26 | #define PIPE_BUF 4096 |
| 27 | #define XATTR_NAME_MAX 255 |
| 28 | #define XATTR_SIZE_MAX 65536 |
| 29 | #define XATTR_LIST_MAX 65536 |
| 30 | |
| 31 | #define RTSIG_MAX 32 |
| 32 | |
| 33 | #endif |