[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGXu5jKofDhycUbLGMLNPM3LwjKuW1kGAbthSS1qufEB6bwOPA@mail.gmail.com>
Date: Fri, 10 Feb 2017 15:36:37 -0800
From: Kees Cook <keescook@...omium.org>
To: Jinbum Park <jinb.park7@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Valentin Rothberg <valentinrothberg@...il.com>,
Linux-MM <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>,
Laura Abbott <labbott@...hat.com>
Subject: Re: [PATCH] mm: testcases for RODATA: fix config dependency
On Thu, Feb 9, 2017 at 5:16 AM, Jinbum Park <jinb.park7@...il.com> wrote:
> Since DEBUG_RODATA has renamed to STRICT_KERNEL_RWX,
> Fix the config dependency.
>
> Reported-by: Valentin Rothberg <valentinrothberg@...il.com>
> Signed-off-by: Jinbum Park <jinb.park7@...il.com>
> ---
> 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
> --- a/mm/Kconfig.debug
> +++ b/mm/Kconfig.debug
> @@ -93,7 +93,7 @@ config DEBUG_PAGE_REF
>
> 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 read-only.
Great, thanks!
Acked-by: Kees Cook <keescook@...omium.org>
Andrew, do you want to take this patch, since it applies on top of
"mm: add arch-independent testcases for RODATA", or do you want me to
take both patches into my KSPP tree which has the DEBUG_RODATA ->
STRICT_KERNEL_RWX renaming series?
-Kees
--
Kees Cook
Pixel Security
Powered by blists - more mailing lists