[Top][All Lists]

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

[PATCH] Rump on GNU/Hurd (3): system limits

From: Robert Millan
Subject: [PATCH] Rump on GNU/Hurd (3): system limits
Date: Sun, 16 Aug 2015 12:56:08 +0200
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0


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).

Robert Millan

Attachment: hurd_3_limits.diff
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]