Increasing MAXSYMLINKS from 32
Increasing MAXSYMLINKS from 32
- Subject: Increasing MAXSYMLINKS from 32
- From: Andre Pang <email@hidden>
- Date: Sat, 4 Jun 2005 00:35:52 -0700
Hi all,
I have a need for changing the value of MAXSYMLINKS in sys/param.h
(the maximum depth for traversing symbolic links) from 32 to
something higher. POSIX & limits.h apparently defines the maximum
level of symbolic links to be 255. So, I have a couple of questions
about this:
* Is there any harm done in simply editing sys/param.h from 32 to
something higher such as 64, 128 or 256?
* Given that this maximum-symlink-depth value appears to be a
constant defined in an included kernel-related header file, is there
anyway to increase this symlink limit to something higher in already-
compiled programs? (Perhaps even via a kernel extension.)
* If there is no way to increase the symlink limit for already-
compiled programs, would it be possible to raise the limit to
64/128/256 in future versions of Darwin and Mac OS X? Making this a
sysctl would be even nicer ...
(Sorry if this post is to the wrong list; I thought darwin-kernel was
probably the best choice. Please feel free to move to the post to
another list if you feel it's more appropriate.)
Thanks!
--
% Andre Pang : trust.in.love.to.save <http://www.algorithm.com.au/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden