All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Borislav Petkov <bp@alien8.de>,
	Dave Hansen <dave@linux.vnet.ibm.com>,
	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
Date: Mon, 11 Feb 2013 14:46:43 -0800	[thread overview]
Message-ID: <511974D3.8020900@zytor.com> (raw)
In-Reply-To: <20130211223405.GF2683@pd.tnic>

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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

WARNING: multiple messages have this Message-ID (diff)
From: "H. Peter Anvin" <hpa@zytor.com>
To: Borislav Petkov <bp@alien8.de>,
	Dave Hansen <dave@linux.vnet.ibm.com>,
	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
Date: Mon, 11 Feb 2013 14:46:43 -0800	[thread overview]
Message-ID: <511974D3.8020900@zytor.com> (raw)
In-Reply-To: <20130211223405.GF2683@pd.tnic>

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


  reply	other threads:[~2013-02-11 22:47 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-08 20:28 [PATCH 1/2] add helper for highmem checks Dave Hansen
2013-02-08 20:28 ` Dave Hansen
2013-02-08 20:28 ` [PATCH 2/2] make /dev/kmem return error for highmem Dave Hansen
2013-02-08 20:28   ` Dave Hansen
2013-02-08 20:48   ` H. Peter Anvin
2013-02-08 20:48     ` H. Peter Anvin
2013-02-08 20:50 ` [PATCH 1/2] add helper for highmem checks H. Peter Anvin
2013-02-08 20:50   ` H. Peter Anvin
2013-02-08 23:16   ` Dave Hansen
2013-02-08 23:16     ` Dave Hansen
2013-02-09  9:41 ` Borislav Petkov
2013-02-09  9:41   ` Borislav Petkov
2013-02-09 10:47   ` Borislav Petkov
2013-02-09 10:47     ` Borislav Petkov
2013-02-11 17:32     ` Dave Hansen
2013-02-11 17:32       ` Dave Hansen
2013-02-11 18:09       ` H. Peter Anvin
2013-02-11 18:09         ` H. Peter Anvin
2013-02-11 18:28       ` Borislav Petkov
2013-02-11 18:28         ` Borislav Petkov
2013-02-11 19:44         ` H. Peter Anvin
2013-02-11 19:44           ` H. Peter Anvin
2013-02-11 22:34           ` Borislav Petkov
2013-02-11 22:34             ` Borislav Petkov
2013-02-11 22:46             ` H. Peter Anvin [this message]
2013-02-11 22:46               ` H. Peter Anvin
2013-02-11 23:00               ` Borislav Petkov
2013-02-11 23:00                 ` Borislav Petkov
2013-02-11 23:02                 ` H. Peter Anvin
2013-02-11 23:02                   ` H. Peter Anvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=511974D3.8020900@zytor.com \
    --to=hpa@zytor.com \
    --cc=bp@alien8.de \
    --cc=dave@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mingo@kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.