Re: [PATCH v5 10/10] lkdtm: Add test for XPFO

2017-08-14 Thread Tycho Andersen
On Mon, Aug 14, 2017 at 12:10:47PM -0700, Kees Cook wrote: > 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

Re: [PATCH v5 10/10] lkdtm: Add test for XPFO

2017-08-14 Thread Tycho Andersen
On Mon, Aug 14, 2017 at 12:10:47PM -0700, Kees Cook wrote: > 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

Re: [PATCH v5 10/10] lkdtm: Add test for XPFO

2017-08-14 Thread Kees Cook
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

Re: [PATCH v5 10/10] lkdtm: Add test for XPFO

2017-08-14 Thread Kees Cook
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

Re: [PATCH v5 10/10] lkdtm: Add test for XPFO

2017-08-14 Thread Tycho Andersen
On Sun, Aug 13, 2017 at 04:24:23AM +0800, kbuild test robot wrote: > Hi Juerg, > > [auto build test ERROR on arm64/for-next/core] > [also build test ERROR on v4.13-rc4] > [cannot apply to next-20170811] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve

Re: [PATCH v5 10/10] lkdtm: Add test for XPFO

2017-08-14 Thread Tycho Andersen
On Sun, Aug 13, 2017 at 04:24:23AM +0800, kbuild test robot wrote: > Hi Juerg, > > [auto build test ERROR on arm64/for-next/core] > [also build test ERROR on v4.13-rc4] > [cannot apply to next-20170811] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve

Re: [PATCH v5 10/10] lkdtm: Add test for XPFO

2017-08-12 Thread kbuild test robot
Hi Juerg, [auto build test ERROR on arm64/for-next/core] [also build test ERROR on v4.13-rc4] [cannot apply to next-20170811] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v5 10/10] lkdtm: Add test for XPFO

2017-08-12 Thread kbuild test robot
Hi Juerg, [auto build test ERROR on arm64/for-next/core] [also build test ERROR on v4.13-rc4] [cannot apply to next-20170811] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v5 10/10] lkdtm: Add test for XPFO

2017-08-12 Thread kbuild test robot
Hi Juerg, [auto build test ERROR on arm64/for-next/core] [also build test ERROR on v4.13-rc4] [cannot apply to next-20170811] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v5 10/10] lkdtm: Add test for XPFO

2017-08-12 Thread kbuild test robot
Hi Juerg, [auto build test ERROR on arm64/for-next/core] [also build test ERROR on v4.13-rc4] [cannot apply to next-20170811] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH v5 10/10] lkdtm: Add test for XPFO

2017-08-09 Thread Tycho Andersen
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. Signed-off-by: Juerg Haefliger Signed-off-by: Tycho Andersen

[PATCH v5 10/10] lkdtm: Add test for XPFO

2017-08-09 Thread Tycho Andersen
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. Signed-off-by: Juerg Haefliger Signed-off-by: Tycho Andersen Tested-by: Marco Benatto --- drivers/misc/Makefile | 1 +