[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.0.98.0706081206430.4205@woody.linux-foundation.org>
Date: Fri, 8 Jun 2007 12:07:27 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Ulrich Drepper <drepper@...hat.com>
cc: Al Viro <viro@....linux.org.uk>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Davide Libenzi <davidel@...ilserver.org>,
Theodore Tso <tytso@....edu>,
Eric Dumazet <dada1@...mosbay.com>,
Kyle Moffett <mrmacman_g4@....com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Ingo Molnar <mingo@...e.hu>
Subject: Re: [patch 7/8] fdmap v2 - implement sys_socket2
On Fri, 8 Jun 2007, Ulrich Drepper wrote:
>
> We are talking about file descriptors here. If you're using file
> descriptors as anything other than tokens you'll find out soon enough
> that your code is broken. The new type of file descriptors cannot be
> used as indeces and the randomization makes sure that no program by some
> fluke happens to work.
No, Uli.
You need things to be *repeatable* for debugging. No ifs, buts, or maybes
about it.
I think truly random is a bad idea, or at the very least needs some way to
disable it.
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists