Re: [patch 7/8] fdmap v2 - implement sys_socket2

From: Alan Cox
Date: Thu Jun 07 2007 - 07:23:24 EST


> Alan, prctl() things are usually inherited at fork()/exec() time.

You want them inherited at fork time.

> If you fork() from a new application , then exec an old one
> (eventually a statically linked program), we have a problem ?

Only if you decide not to reset the value. There are lots of things we do
inherit and lots we don't.

Alan
-
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/