summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-02-07 03:33:05 +0000
committerdg <dg@FreeBSD.org>1995-02-07 03:33:05 +0000
commit6a86aa802ff0936739b48891826ba340f59aa0d1 (patch)
tree19b1f8ef1229b2515b195e7aad1da761b3590420
parentd963f7f61fb113506f94d1fdf76c3fcc25282384 (diff)
downloadFreeBSD-src-6a86aa802ff0936739b48891826ba340f59aa0d1.zip
FreeBSD-src-6a86aa802ff0936739b48891826ba340f59aa0d1.tar.gz
Changed maximum number of symlinks in a path from 8 to 32. The exact value
isn't important; it is only used to prevent symlink loops from looping forever. 32 is a quite reasonable default. Submitted by: Ed Hudson <elh@p5.spnet.com>
-rw-r--r--sys/sys/param.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/param.h b/sys/sys/param.h
index 55e6e45..0a13fb0 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)param.h 8.2 (Berkeley) 1/21/94
- * $Id: param.h,v 1.5 1994/09/01 05:12:51 davidg Exp $
+ * $Id: param.h,v 1.6 1995/01/09 16:05:13 davidg Exp $
*/
#ifndef _SYS_PARAM_H_
@@ -168,7 +168,7 @@
* infinite loops reasonably quickly.
*/
#define MAXPATHLEN PATH_MAX
-#define MAXSYMLINKS 8
+#define MAXSYMLINKS 32
/* Bit map related macros. */
#define setbit(a,i) ((a)[(i)/NBBY] |= 1<<((i)%NBBY))
OpenPOWER on IntegriCloud