Re: [PATCH v2] lkdtm: Add tests for LIST_POISON and ZERO_SIZE_PTR

2016-12-03 Thread Greg KH
On Sat, Dec 03, 2016 at 10:10:57AM +0100, Greg KH wrote: > On Fri, Dec 02, 2016 at 01:32:24PM -0800, Kees Cook wrote: > > On Thu, Dec 1, 2016 at 8:22 PM, Michael Ellerman > > wrote: > > > This adds two tests, to check that a read or write to LIST_POISON1 and > > >

Re: [PATCH v2] lkdtm: Add tests for LIST_POISON and ZERO_SIZE_PTR

2016-12-03 Thread Greg KH
On Sat, Dec 03, 2016 at 10:10:57AM +0100, Greg KH wrote: > On Fri, Dec 02, 2016 at 01:32:24PM -0800, Kees Cook wrote: > > On Thu, Dec 1, 2016 at 8:22 PM, Michael Ellerman > > wrote: > > > This adds two tests, to check that a read or write to LIST_POISON1 and > > > ZERO_SIZE_PTR are blocked. > >

Re: [PATCH v2] lkdtm: Add tests for LIST_POISON and ZERO_SIZE_PTR

2016-12-03 Thread Greg KH
On Fri, Dec 02, 2016 at 01:32:24PM -0800, Kees Cook wrote: > On Thu, Dec 1, 2016 at 8:22 PM, Michael Ellerman wrote: > > This adds two tests, to check that a read or write to LIST_POISON1 and > > ZERO_SIZE_PTR are blocked. > > > > The default values for both (256 and 16)

Re: [PATCH v2] lkdtm: Add tests for LIST_POISON and ZERO_SIZE_PTR

2016-12-03 Thread Greg KH
On Fri, Dec 02, 2016 at 01:32:24PM -0800, Kees Cook wrote: > On Thu, Dec 1, 2016 at 8:22 PM, Michael Ellerman wrote: > > This adds two tests, to check that a read or write to LIST_POISON1 and > > ZERO_SIZE_PTR are blocked. > > > > The default values for both (256 and 16) typically fall in the

Re: [PATCH v2] lkdtm: Add tests for LIST_POISON and ZERO_SIZE_PTR

2016-12-02 Thread kbuild test robot
Hi Michael, [auto build test ERROR on char-misc/char-misc-testing] [also build test ERROR on v4.9-rc7] [cannot apply to next-20161202] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v2] lkdtm: Add tests for LIST_POISON and ZERO_SIZE_PTR

2016-12-02 Thread kbuild test robot
Hi Michael, [auto build test ERROR on char-misc/char-misc-testing] [also build test ERROR on v4.9-rc7] [cannot apply to next-20161202] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v2] lkdtm: Add tests for LIST_POISON and ZERO_SIZE_PTR

2016-12-02 Thread Kees Cook
On Thu, Dec 1, 2016 at 8:22 PM, Michael Ellerman wrote: > This adds two tests, to check that a read or write to LIST_POISON1 and > ZERO_SIZE_PTR are blocked. > > The default values for both (256 and 16) typically fall in the range > of valid user space addresses. However in

Re: [PATCH v2] lkdtm: Add tests for LIST_POISON and ZERO_SIZE_PTR

2016-12-02 Thread Kees Cook
On Thu, Dec 1, 2016 at 8:22 PM, Michael Ellerman wrote: > This adds two tests, to check that a read or write to LIST_POISON1 and > ZERO_SIZE_PTR are blocked. > > The default values for both (256 and 16) typically fall in the range > of valid user space addresses. However in general mmap_min_addr

[PATCH v2] lkdtm: Add tests for LIST_POISON and ZERO_SIZE_PTR

2016-12-01 Thread Michael Ellerman
This adds two tests, to check that a read or write to LIST_POISON1 and ZERO_SIZE_PTR are blocked. The default values for both (256 and 16) typically fall in the range of valid user space addresses. However in general mmap_min_addr is 64K, which prevents user space from mapping anything at those

[PATCH v2] lkdtm: Add tests for LIST_POISON and ZERO_SIZE_PTR

2016-12-01 Thread Michael Ellerman
This adds two tests, to check that a read or write to LIST_POISON1 and ZERO_SIZE_PTR are blocked. The default values for both (256 and 16) typically fall in the range of valid user space addresses. However in general mmap_min_addr is 64K, which prevents user space from mapping anything at those