Re: [PATCH] mm: testcases for RODATA: fix config dependency

2017-02-15 Thread Kees Cook
On Wed, Feb 15, 2017 at 1:00 PM, Andrew Morton wrote: > On Fri, 10 Feb 2017 15:36:37 -0800 Kees Cook wrote: > >> > config DEBUG_RODATA_TEST >> > bool "Testcase for the marking rodata read-only" >> > -depends on DEBUG_RODATA >> > +depends on STRICT_KERNEL_RWX >> > ---help--- >>

Re: [PATCH] mm: testcases for RODATA: fix config dependency

2017-02-15 Thread Andrew Morton
On Fri, 10 Feb 2017 15:36:37 -0800 Kees Cook wrote: > > config DEBUG_RODATA_TEST > > bool "Testcase for the marking rodata read-only" > > -depends on DEBUG_RODATA > > +depends on STRICT_KERNEL_RWX > > ---help--- > >This option enables a testcase for the setting rodata r

Re: [PATCH] mm: testcases for RODATA: fix config dependency

2017-02-10 Thread Kees Cook
On Thu, Feb 9, 2017 at 5:16 AM, Jinbum Park wrote: > Since DEBUG_RODATA has renamed to STRICT_KERNEL_RWX, > Fix the config dependency. > > Reported-by: Valentin Rothberg > Signed-off-by: Jinbum Park > --- > mm/Kconfig.debug | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[PATCH] mm: testcases for RODATA: fix config dependency

2017-02-09 Thread Jinbum Park
Since DEBUG_RODATA has renamed to STRICT_KERNEL_RWX, Fix the config dependency. Reported-by: Valentin Rothberg Signed-off-by: Jinbum Park --- mm/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/Kconfig.debug b/mm/Kconfig.debug index 3e5eada..3c88b7e 100644 --