svn commit: r327598 - head/sys/sys

John Baldwin jhb at FreeBSD.org
Fri Jan 5 22:26:25 UTC 2018


Author: jhb
Date: Fri Jan  5 22:26:23 2018
New Revision: 327598
URL: https://svnweb.freebsd.org/changeset/base/327598

Log:
  Remove LINK_MAX.
  
  After recent changes to change filesystems to use filesystem-specific
  limits, LINK_MAX is no longer used in the base system.  Applications
  should in theory be able to cope with a lack of LINK_MAX by using
  pathconf().
  
  PR:		224628 (exp-run)
  Approved by:	imp, kib
  Sponsored by:	Chelsio Communications
  Differential Revision:	https://reviews.freebsd.org/D13658

Modified:
  head/sys/sys/syslimits.h

Modified: head/sys/sys/syslimits.h
==============================================================================
--- head/sys/sys/syslimits.h	Fri Jan  5 21:06:19 2018	(r327597)
+++ head/sys/sys/syslimits.h	Fri Jan  5 22:26:23 2018	(r327598)
@@ -52,7 +52,6 @@
 #ifndef CHILD_MAX
 #define	CHILD_MAX		   40	/* max simultaneous processes */
 #endif
-#define	LINK_MAX		32767	/* max file link count */
 #define	MAX_CANON		  255	/* max bytes in term canon input line */
 #define	MAX_INPUT		  255	/* max bytes in terminal input */
 #define	NAME_MAX		  255	/* max bytes in a file name */


More information about the svn-src-head mailing list