1 #ifndef _LINUX_LIMITS_H
2 #define _LINUX_LIMITS_H
3
4 #define NAME_MAX 255
5
6 #define NR_OPEN 32
7 #define NR_INODE 128
8 #define NR_FILE 128
9 #define NR_SUPER 8
10 #define NR_HASH 997
11 #define NR_FILE_LOCKS 32
12 #define BLOCK_SIZE 1024
13 #define BLOCK_SIZE_BITS 10
14 #define MAX_CHRDEV 16
15 #define MAX_BLKDEV 16
16
17 #define NGROUPS_MAX 32
18 #define ARG_MAX 131072
19 #define CHILD_MAX 999
20 #define OPEN_MAX 32
21 #define LINK_MAX 127
22 #define MAX_CANON 255
23 #define MAX_INPUT 255
24 #define NAME_MAX 255
25 #define PATH_MAX 1024
26 #define PIPE_BUF 4095
27
28 #endif