Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 14 Aug 2017 12:10:47 -0700
From: Kees Cook <>
To: Tycho Andersen <>
Cc: LKML <>, Linux-MM <>, 
	"" <>, 
	Marco Benatto <>, 
	Juerg Haefliger <>, Juerg Haefliger <>
Subject: Re: [PATCH v5 10/10] lkdtm: Add test for XPFO

On Wed, Aug 9, 2017 at 1:07 PM, Tycho Andersen <> wrote:
> From: Juerg Haefliger <>
> This test simply reads from userspace memory via the kernel's linear
> map.
> hugepages is only supported on x86 right now, hence the ifdef.

I'd prefer that the #ifdef is handled in the .c file. The result is
that all architectures will have the XPFO_READ_USER_HUGE test, but it
can just fail when not available. This means no changes are needed for
lkdtm in the future and the test provides an actual test of hugepages


Kees Cook
Pixel Security

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.