NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/50166: [PATCH] MAXPATHLEN / PATH_MAX definitions (for GNU/Hurd support in Rump)



>Number:         50166
>Category:       misc
>Synopsis:       [PATCH] MAXPATHLEN / PATH_MAX definitions (for GNU/Hurd support in Rump)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 24 17:55:00 +0000 2015
>Originator:     Robert Millan
>Release:        HEAD
>Organization:
>Environment:
>Description:
GNU/Hurd doesn't have PATH_MAX or MAXHOSTNAMELEN (arbitrarily long strings can be used). Since attempting to replace every instance of static allocation with dynamic buffer management would make for a very intrusive patch, I'm proposing to just define the limits as alternative.

I took care to use the same limits Rump namespace has, just to avoid accidental cross-definition of a different value causing damage somewhere (e.g. overflows or such).
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index