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>
This commit is contained in:
David Greenman 1995-02-07 03:33:05 +00:00
parent 838ecf4225
commit 17279d6cb5

View File

@ -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))