misc/184340: PATH_MAX not interoperable with Linux

Brooks Davis brooks at freebsd.org
Wed Nov 27 23:30:01 UTC 2013


The following reply was made to PR misc/184340; it has been noted by GNATS.

From: Brooks Davis <brooks at freebsd.org>
To: David Cundiff <dcundiff at a2hosting.com>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: misc/184340: PATH_MAX not interoperable with Linux
Date: Wed, 27 Nov 2013 17:26:17 -0600

 On Wed, Nov 27, 2013 at 11:03:31PM +0000, David Cundiff wrote:
 > Change PATH_MAX in kernel to 4096 from 1024. Should be harmless and will fix the issue in any program that uses PATH_MAX from the kernel headers. Also would allow longer 32-bit unicode paths.
 
 Blindly changing PATH_MAX would be far from harmless.  It would bloat
 many internal structures and break ABIs and thus could not be done on
 a stable branch without quite a bit of work.  This is probalby worth
 fixing for 11.0, ideally by removing the limit entierly as suggested by
 POSIX.
 
 -- Brooks


More information about the freebsd-bugs mailing list