Re: Syslets, Threadlets, generic AIO support, v6

From: Jeremy Fitzhardinge
Date: Wed May 30 2007 - 17:54:48 EST


Linus Torvalds wrote:
> Side note: it might not even be a "close-on-exec by default" thing: it
> might well be a *always* close-on-exec.
>
> That COE is pretty horrid to do, we need to scan a bitmap of those things
> on each exec. So it migth be totally sensible to just declare that the
> non-linear fd's would simply always be "local", and never bleed across an
> execve).

Hm, I wouldn't limit the mechanism prematurely. Using Valgrind as an
example of an alternate user of this mechanism, it would be useful to
use a pipe to transmit out-of-band information from an exec-er to an
exec-ee process. At the moment there's a lot mucking around with
execve() to transmit enough information from the parent valgrind to its
successor.

J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/