Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S939289AbXFHT0Z (ORCPT ); Fri, 8 Jun 2007 15:26:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750828AbXFHT0T (ORCPT ); Fri, 8 Jun 2007 15:26:19 -0400 Received: from [81.2.110.250] ([81.2.110.250]:53209 "EHLO the-village.bc.nu" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750725AbXFHT0S (ORCPT ); Fri, 8 Jun 2007 15:26:18 -0400 Date: Fri, 8 Jun 2007 20:30:07 +0100 From: Alan Cox To: Ulrich Drepper Cc: Davide Libenzi , Theodore Tso , Eric Dumazet , Kyle Moffett , Linux Kernel Mailing List , Linus Torvalds , Andrew Morton , Ingo Molnar Subject: Re: [patch 7/8] fdmap v2 - implement sys_socket2 Message-ID: <20070608203007.3c50eb66@the-village.bc.nu> In-Reply-To: <4669A351.4010403@redhat.com> References: <466741BD.20106@redhat.com> <20070607110432.73be7960@the-village.bc.nu> <20070607151243.22caab9e.dada1@cosmosbay.com> <466864F8.2050903@cosmosbay.com> <46686810.6030805@redhat.com> <466880A4.3090908@redhat.com> <20070608120746.GD12687@thunk.org> <20070608140150.6f31672f@the-village.bc.nu> <20070608192652.4a291901@the-village.bc.nu> <4669A351.4010403@redhat.com> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.8; i386-redhat-linux-gnu) Organization: Red Hat UK Cyf., Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, Y Deyrnas Gyfunol. Cofrestrwyd yng Nghymru a Lloegr o'r rhif cofrestru 3798903 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1005 Lines: 27 On Fri, 08 Jun 2007 11:43:29 -0700 Ulrich Drepper 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/