Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2018 22:26:23 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r327598 - head/sys/sys
Message-ID:  <201801052226.w05MQNdl019617@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801052226.w05MQNdl019617>