aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/limits.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-10-13 05:46:48 -0400
committerDavid Howells <dhowells@redhat.com>2012-10-13 05:46:48 -0400
commit607ca46e97a1b6594b29647d98a32d545c24bdff (patch)
tree30f4c0784bfddb57332cdc0678bd06d1e77fa185 /include/uapi/linux/limits.h
parent08cce05c5a91f5017f4edc9866cf026908c73f9f (diff)
UAPI: (Scripted) Disintegrate include/linux
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'include/uapi/linux/limits.h')
-rw-r--r--include/uapi/linux/limits.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/uapi/linux/limits.h b/include/uapi/linux/limits.h
new file mode 100644
index 000000000000..2d0f94162fb3
--- /dev/null
+++ b/include/uapi/linux/limits.h
@@ -0,0 +1,20 @@
1#ifndef _LINUX_LIMITS_H
2#define _LINUX_LIMITS_H
3
4#define NR_OPEN 1024
5
6#define NGROUPS_MAX 65536 /* supplemental group IDs are available */
7#define ARG_MAX 131072 /* # bytes of args + environ for exec() */
8#define LINK_MAX 127 /* # links a file may have */
9#define MAX_CANON 255 /* size of the canonical input queue */
10#define MAX_INPUT 255 /* size of the type-ahead buffer */
11#define NAME_MAX 255 /* # chars in a file name */
12#define PATH_MAX 4096 /* # chars in a path name including nul */
13#define PIPE_BUF 4096 /* # bytes in atomic write to a pipe */
14#define XATTR_NAME_MAX 255 /* # chars in an extended attribute name */
15#define XATTR_SIZE_MAX 65536 /* size of an extended attribute value (64k) */
16#define XATTR_LIST_MAX 65536 /* size of extended attribute namelist (64k) */
17
18#define RTSIG_MAX 32
19
20#endif