[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070608203421.29fb9f15@the-village.bc.nu>
Date: Fri, 8 Jun 2007 20:34:21 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Ulrich Drepper <drepper@...hat.com>
Cc: Al Viro <viro@....linux.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>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Ingo Molnar <mingo@...e.hu>
Subject: Re: [patch 7/8] fdmap v2 - implement sys_socket2
> 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.
If you are building a stable system and you test it and it passes
extensive testing you don't care if it works because of a specific
pattern of accesses since your testing shows that it continues to work.
If you randomize these it becomes fundamentally untestable. There is a
role for this in fuzz testing but there is not a role for it in normal
production behaviour.
Please consign the whole funky file handle farce to the bucket labelled
"dumb ideas". I know its a bit full but there is room in there for more -
unlike the kernel.
Alan
-
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