From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757578AbZENXNn (ORCPT ); Thu, 14 May 2009 19:13:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759263AbZENXCM (ORCPT ); Thu, 14 May 2009 19:02:12 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:50291 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762628AbZENXCK (ORCPT ); Thu, 14 May 2009 19:02:10 -0400 Date: Thu, 14 May 2009 15:55:06 -0700 (PDT) From: Linus Torvalds X-X-Sender: torvalds@localhost.localdomain To: Jake Edge cc: Ingo Molnar , Alan@hera.kernel.org, security@kernel.org, "Eric W. Biederman" , Roland McGrath , Linux@hera.kernel.org, List , Eric Paris , James Morris , linux-security-module@vger.kernel.org, mingo@redhat.com, Arjan@hera.kernel.org, Matt Mackall , Dave Jones , Andrew Morton , stable@kernel.org, Cox , de Ven Subject: Re: [Security] [patch] random: make get_random_int() more random In-Reply-To: <20090514164737.6eaab4f0@chukar> Message-ID: References: <20090505055011.GE31071@waste.org> <20090505063156.GA24504@elte.hu> <20090505195246.GC21973@elte.hu> <20090505202219.GL31071@waste.org> <20090506103034.GA25203@elte.hu> <20090506162543.GT31071@waste.org> <20090506200954.GA21484@elte.hu> <20090514164737.6eaab4f0@chukar> User-Agent: Alpine 2.01 (LFD 1184 2008-12-16) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 14 May 2009, Jake Edge wrote: > > It seems like this should be queued up for stable, yes? I just saw the > 2.6.29.4 review patches go out, but this wasn't part of it ... Well, I was hoping to maybe have actual timing numbers from some better hash, in case Matt can make one that is efficient enough. So I committed the randomness improvement as a clear _improvement_ over what we had, but it may not be the final version. That said, I guess the same argument can be used for pushing it towards stable too. Even if we end up doing something fancier, the patch is clearly not any worse than what we have currently. Linus