Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 #ifndef _UAPI_LINUX_LIMITS_H
0003 #define _UAPI_LINUX_LIMITS_H
0004 
0005 #define NR_OPEN         1024
0006 
0007 #define NGROUPS_MAX    65536    /* supplemental group IDs are available */
0008 #define ARG_MAX       131072    /* # bytes of args + environ for exec() */
0009 #define LINK_MAX         127    /* # links a file may have */
0010 #define MAX_CANON        255    /* size of the canonical input queue */
0011 #define MAX_INPUT        255    /* size of the type-ahead buffer */
0012 #define NAME_MAX         255    /* # chars in a file name */
0013 #define PATH_MAX        4096    /* # chars in a path name including nul */
0014 #define PIPE_BUF        4096    /* # bytes in atomic write to a pipe */
0015 #define XATTR_NAME_MAX   255    /* # chars in an extended attribute name */
0016 #define XATTR_SIZE_MAX 65536    /* size of an extended attribute value (64k) */
0017 #define XATTR_LIST_MAX 65536    /* size of extended attribute namelist (64k) */
0018 
0019 #define RTSIG_MAX     32
0020 
0021 #endif