bug-hurd
[Top][All Lists]
Advanced

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

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


From: Antti Kantee
Subject: Re: [PATCH] Rump on GNU/Hurd (3): system limits
Date: Sun, 16 Aug 2015 13:07:31 +0000

On 16/08/15 10:56, Robert Millan wrote:

Hi,

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

Can you submit the patches against NetBSD tools directly to NetBSD? It's hard to test that one didn't break any platform when mucking around with the crosstools, so it never hurts to have the maximal amount of eyeballs on changes there. Specifically, I'm not sure what the fallout from AC_CANONICAL_HOST() will be (if any). If nobody else has comments or handles the PR, I can commit your patches in a few days.

https://www.netbsd.org/cgi-bin/sendpr.cgi?gndb=netbsd

The buildrump.sh bit, again, please submit as a pull req on github.

thanks!



reply via email to

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