Blame include/uapi/linux/limits.h

Packit Service 3880ab
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Packit Service 3880ab
#ifndef _LINUX_LIMITS_H
Packit Service 3880ab
#define _LINUX_LIMITS_H
Packit Service 3880ab
Packit Service 3880ab
#define NR_OPEN	        1024
Packit Service 3880ab
Packit Service 3880ab
#define NGROUPS_MAX    65536	/* supplemental group IDs are available */
Packit Service 3880ab
#define ARG_MAX       131072	/* # bytes of args + environ for exec() */
Packit Service 3880ab
#define LINK_MAX         127	/* # links a file may have */
Packit Service 3880ab
#define MAX_CANON        255	/* size of the canonical input queue */
Packit Service 3880ab
#define MAX_INPUT        255	/* size of the type-ahead buffer */
Packit Service 3880ab
#define NAME_MAX         255	/* # chars in a file name */
Packit Service 3880ab
#define PATH_MAX        4096	/* # chars in a path name including nul */
Packit Service 3880ab
#define PIPE_BUF        4096	/* # bytes in atomic write to a pipe */
Packit Service 3880ab
#define XATTR_NAME_MAX   255	/* # chars in an extended attribute name */
Packit Service 3880ab
#define XATTR_SIZE_MAX 65536	/* size of an extended attribute value (64k) */
Packit Service 3880ab
#define XATTR_LIST_MAX 65536	/* size of extended attribute namelist (64k) */
Packit Service 3880ab
Packit Service 3880ab
#define RTSIG_MAX	  32
Packit Service 3880ab
Packit Service 3880ab
#endif