Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1577567

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

From Jinbum Park <jinb.park7@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] mm: testcases for RODATA: fix config dependency
Date 2017-02-09 14:30 +0100
Message-ID <t8WXo-6Gp-21@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Since DEBUG_RODATA has renamed to STRICT_KERNEL_RWX,
Fix the config dependency.

Reported-by: Valentin Rothberg <valentinrothberg@gmail.com>
Signed-off-by: Jinbum Park <jinb.park7@gmail.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.
 
-- 
1.9.1

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH] mm: testcases for RODATA: fix config dependency Jinbum Park <jinb.park7@gmail.com> - 2017-02-09 14:30 +0100
  Re: [PATCH] mm: testcases for RODATA: fix config dependency Kees Cook <keescook@chromium.org> - 2017-02-11 00:40 +0100

csiph-web