On Sat, Jun 09, 2007 at 01:31:56PM -0700, Davide Libenzi wrote: > On Sat, 9 Jun 2007, Linus Torvalds wrote: > > > So I think both the FD_CLOEXEC _and_ the "private fd space" are real > > issues. I don't agree with the "random fd" approach. I'd much rather have > > a non-random setup for the nonlinear ones (it just shouldn't be linear). > > That is fine for me. So what about the randomness? > > A) Don't do it at all > > B) Let userspace select it in some way globally > > C) Let userspace select it per-fd (this won't be an O(1) anymore though) It should be handled the same way that VMA layout randomness is handled. There are multiple knobs including ELF markers and /proc bits. -- Mathematics is the supreme nostalgia of our time. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [patch 7/8] fdmap v2 - implement sys_socket2
- From: Davide Libenzi <[email protected]>
- Re: [patch 7/8] fdmap v2 - implement sys_socket2
- References:
- Re: [patch 7/8] fdmap v2 - implement sys_socket2
- From: Ulrich Drepper <[email protected]>
- Re: [patch 7/8] fdmap v2 - implement sys_socket2
- From: Al Viro <[email protected]>
- Re: [patch 7/8] fdmap v2 - implement sys_socket2
- From: Ulrich Drepper <[email protected]>
- Re: [patch 7/8] fdmap v2 - implement sys_socket2
- From: Al Viro <[email protected]>
- Re: [patch 7/8] fdmap v2 - implement sys_socket2
- From: Ulrich Drepper <[email protected]>
- Re: [patch 7/8] fdmap v2 - implement sys_socket2
- From: Al Viro <[email protected]>
- Re: [patch 7/8] fdmap v2 - implement sys_socket2
- From: Kyle Moffett <[email protected]>
- Re: [patch 7/8] fdmap v2 - implement sys_socket2
- From: Al Viro <[email protected]>
- Re: [patch 7/8] fdmap v2 - implement sys_socket2
- From: Linus Torvalds <[email protected]>
- Re: [patch 7/8] fdmap v2 - implement sys_socket2
- From: Davide Libenzi <[email protected]>
- Re: [patch 7/8] fdmap v2 - implement sys_socket2
- Prev by Date: Re: [PATCH 2/3] [CRYPTO] Add optimized SHA-1 implementation for i486+
- Next by Date: Re: [linux-usb-devel] ThinkPad T41 - Strange USB 2.0 behaviour
- Previous by thread: Re: [patch 7/8] fdmap v2 - implement sys_socket2
- Next by thread: Re: [patch 7/8] fdmap v2 - implement sys_socket2
- Index(es):