Re: [PATCH v3 3/4] powerpc/mm/ptdump: debugfs handler for W+X checks at runtime

2019-10-13 Thread Russell Currey
On Tue, 2019-10-08 at 08:21 +0200, Christophe Leroy wrote: > > Le 04/10/2019 à 09:50, Russell Currey a écrit : > > Very rudimentary, just > > > > echo 1 > [debugfs]/check_wx_pages > > > > and check the kernel log. Useful for testing strict module RWX. > > > > Also fixed a typo. > > > >

Re: [PATCH v3 3/4] powerpc/mm/ptdump: debugfs handler for W+X checks at runtime

2019-10-08 Thread Christophe Leroy
Le 04/10/2019 à 09:50, Russell Currey a écrit : Very rudimentary, just echo 1 > [debugfs]/check_wx_pages and check the kernel log. Useful for testing strict module RWX. Also fixed a typo. Signed-off-by: Russell Currey --- arch/powerpc/mm/ptdump/ptdump.c | 31

Re: [PATCH v3 3/4] powerpc/mm/ptdump: debugfs handler for W+X checks at runtime

2019-10-07 Thread Daniel Axtens
Russell Currey writes: > Very rudimentary, just > > echo 1 > [debugfs]/check_wx_pages > > and check the kernel log. Useful for testing strict module RWX. I was very confused that this requires the boot-time testing to be enabled to appear in debugfs. Could you change the kconfig snippet

[PATCH v3 3/4] powerpc/mm/ptdump: debugfs handler for W+X checks at runtime

2019-10-04 Thread Russell Currey
Very rudimentary, just echo 1 > [debugfs]/check_wx_pages and check the kernel log. Useful for testing strict module RWX. Also fixed a typo. Signed-off-by: Russell Currey --- arch/powerpc/mm/ptdump/ptdump.c | 31 +-- 1 file changed, 25 insertions(+), 6