Increasing MAXSYMLINKS from 32
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Hi all, 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 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.) This email sent to site_archiver@lists.apple.com
participants (1)
-
Andre Pang