Re: [PATCH v2 2/2] powerpc/mm: Warn if W+X pages found on boot

2020-01-06 Thread Christophe Leroy
Le 02/05/2019 à 09:39, Russell Currey a écrit : Implement code to walk all pages and warn if any are found to be both writable and executable. Depends on STRICT_KERNEL_RWX enabled, and is behind the DEBUG_WX config option. This only runs on boot and has no runtime performance implications.

Re: [PATCH v2 2/2] powerpc/mm: Warn if W+X pages found on boot

2019-05-02 Thread Russell Currey
On Fri, 2019-05-03 at 00:37 +, Joel Stanley wrote: > On Thu, 2 May 2019 at 07:42, Russell Currey > wrote: > > Implement code to walk all pages and warn if any are found to be > > both > > writable and executable. Depends on STRICT_KERNEL_RWX enabled, and > > is > > behind the DEBUG_WX config

Re: [PATCH v2 2/2] powerpc/mm: Warn if W+X pages found on boot

2019-05-02 Thread Joel Stanley
On Thu, 2 May 2019 at 07:42, Russell Currey wrote: > > Implement code to walk all pages and warn if any are found to be both > writable and executable. Depends on STRICT_KERNEL_RWX enabled, and is > behind the DEBUG_WX config option. > > This only runs on boot and has no runtime performance

Re: [PATCH v2 2/2] powerpc/mm: Warn if W+X pages found on boot

2019-05-02 Thread Michael Ellerman
Russell Currey writes: > Implement code to walk all pages and warn if any are found to be both > writable and executable. Depends on STRICT_KERNEL_RWX enabled, and is > behind the DEBUG_WX config option. > > This only runs on boot and has no runtime performance implications. > > Very heavily

[PATCH v2 2/2] powerpc/mm: Warn if W+X pages found on boot

2019-05-02 Thread Russell Currey
Implement code to walk all pages and warn if any are found to be both writable and executable. Depends on STRICT_KERNEL_RWX enabled, and is behind the DEBUG_WX config option. This only runs on boot and has no runtime performance implications. Very heavily influenced (and in some cases copied