[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070608203007.3c50eb66@the-village.bc.nu>
Date: Fri, 8 Jun 2007 20:30:07 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Ulrich Drepper <drepper@...hat.com>
Cc: 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
On Fri, 08 Jun 2007 11:43:29 -0700
Ulrich Drepper <drepper@...hat.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Alan Cox wrote:
> > Why does he want an unpredictable algorithm
>
> To avoid exactly the kind of problem we have now in future: programs
> relying on specific patterns.
Which you seem to think is a bad thing, yet is actually a very good thing
because it means that crashes are repeatable and problems are debuggable
from end user reports.
Trying to randomize filehandles for the general case is not a productive
activity. If you want to debug cases write yourself a glibc wrapper that
does annoying things but don't inflict it on people who actually want to
build working, testable, debuggable systems (ie most of us)
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