patch-2.4.20 linux-2.4.20/include/linux/limits.h

Next file: linux-2.4.20/include/linux/list.h
Previous file: linux-2.4.20/include/linux/kernel_stat.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/include/linux/limits.h linux-2.4.20/include/linux/limits.h
@@ -13,6 +13,9 @@
 #define NAME_MAX         255	/* # chars in a file name */
 #define PATH_MAX        4096	/* # chars in a path name including nul */
 #define PIPE_BUF        4096	/* # bytes in atomic write to a pipe */
+#define XATTR_NAME_MAX   255	/* # chars in an extended attribute name */
+#define XATTR_SIZE_MAX 65536	/* size of an extended attribute value (64k) */
+#define XATTR_LIST_MAX 65536	/* size of extended attribute namelist (64k) */
 
 #define RTSIG_MAX	  32
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)