From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932887Ab3BKWr3 (ORCPT ); Mon, 11 Feb 2013 17:47:29 -0500 Received: from terminus.zytor.com ([198.137.202.10]:42881 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932864Ab3BKWrO (ORCPT ); Mon, 11 Feb 2013 17:47:14 -0500 Message-ID: <511974D3.8020900@zytor.com> Date: Mon, 11 Feb 2013 14:46:43 -0800 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Borislav Petkov , Dave Hansen , linux-kernel@vger.kernel.org, linux-mm@kvack.org, mingo@kernel.org, tglx@linutronix.de Subject: Re: [PATCH 1/2] add helper for highmem checks References: <20130208202813.62965F25@kernel.stglabs.ibm.com> <20130209094121.GB17728@pd.tnic> <20130209104751.GC17728@pd.tnic> <51192B39.9060501@linux.vnet.ibm.com> <20130211182826.GE2683@pd.tnic> <7794bbcd-5d5a-4e81-87fd-68b0aa17a556@email.android.com> <20130211223405.GF2683@pd.tnic> In-Reply-To: <20130211223405.GF2683@pd.tnic> X-Enigmail-Version: 1.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/11/2013 02:34 PM, Borislav Petkov wrote: > On Mon, Feb 11, 2013 at 11:44:12AM -0800, H. Peter Anvin wrote: >> Oh, craptastic. X used to hash /dev/mem to get a random seed. It >> should have stopped that long ago, and used /dev/[u]random. > > That's because debian still has this WINGs window manager which hasn't > seen any new releases since 2005: http://voins.program.ru/wdm/ and I'm > using it because I don't want the pompous crap of the other display > managers. > > But this one uses /dev/mem as a randomFile only by default - there's a > configuration variable DisplayManager.randomFile which can be pointed > away from /dev/mem so that's easily fixable. > > Mind you, I wouldnt've caught the issue if I wasn't using this ancient > thing in its default settings :o). > The X server itself used to do that. Are you saying that wdm is a *privileged process*? -hpa