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 307
11 #define BLOCK_SIZE 1024
12 #define BLOCK_SIZE_BITS 10
13 #define MAX_CHRDEV 16
14 #define MAX_BLKDEV 16
15
16 #define NGROUPS_MAX 32
17 #define ARG_MAX 40960
18 #define CHILD_MAX 999
19 #define OPEN_MAX 32
20 #define LINK_MAX 127
21 #define MAX_CANON 255
22 #define MAX_INPUT 255
23 #define NAME_MAX 255
24 #define PATH_MAX 1024
25 #define PIPE_BUF 4095
26
27 #endif