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

2020-01-07 Thread Michael Ellerman
Christophe Leroy writes: > Russell Currey a écrit : > >> Very rudimentary, just >> >> echo 1 > [debugfs]/check_wx_pages >> >> and check the kernel log. Useful for testing strict module RWX. > > For testing strict module RWX you could instead implement > module_arch_freeing_init() and call

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

2019-12-31 Thread Christophe Leroy
Russell Currey a écrit : Very rudimentary, just echo 1 > [debugfs]/check_wx_pages and check the kernel log. Useful for testing strict module RWX. For testing strict module RWX you could instead implement module_arch_freeing_init() and call ptdump_check_wx() from there. Christo

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

2019-12-23 Thread Russell Currey
Very rudimentary, just echo 1 > [debugfs]/check_wx_pages and check the kernel log. Useful for testing strict module RWX. Updated the Kconfig entry to reflect this. Also fixed a typo. Signed-off-by: Russell Currey --- arch/powerpc/Kconfig.debug | 6 -- arch/powerpc/mm/ptdum