From owner-freebsd-bugs@FreeBSD.ORG Wed Nov 27 23:30:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DC3F82E7 for ; Wed, 27 Nov 2013 23:30:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C8CF93C6 for ; Wed, 27 Nov 2013 23:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rARNU1ui003140 for ; Wed, 27 Nov 2013 23:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rARNU1Rg003138; Wed, 27 Nov 2013 23:30:01 GMT (envelope-from gnats) Date: Wed, 27 Nov 2013 23:30:01 GMT Message-Id: <201311272330.rARNU1Rg003138@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Brooks Davis Subject: Re: misc/184340: PATH_MAX not interoperable with Linux X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list Reply-To: Brooks Davis List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Nov 2013 23:30:01 -0000 The following reply was made to PR misc/184340; it has been noted by GNATS. From: Brooks Davis To: David Cundiff Cc: freebsd-gnats-submit@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