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

From: Ulrich Drepper
Date: Thu Jun 07 2007 - 18:33:29 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Davide Libenzi wrote:
> What we can sanily do, is re-random the base if no fds are in there (of
> course CLOFORK and CLOEXEC do not count).

With the last comment you mean "count after CLOFORK and CLOEXEC", right?
So the re-basing would be done in two places: after fork and after execve?

That would be enough. Programs should clean after themselves.

- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGaICk2ijCOnn/RHQRAqq5AJwIDmKdsL71ecQVd6PoDI2oOL/KcwCguj2b
TFqDhpJEDqFx1ypdHITuywA=
=Cbfg
-----END PGP SIGNATURE-----
-
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/