[linux-kvm-x][PATCH] UBUNTU: kvm: [config] enable CONFIG_DEBUG_RODATA

Po-Hsu Lin po-hsu.lin at canonical.com
Mon May 7 06:41:04 UTC 2018


BugLink: http://bugs.launchpad.net/bugs/1760643

Enable the CONFIG_DEBUG_RODATA, which is required by kernel security tests.

Signed-off-by: Po-Hsu Lin <po-hsu.lin at canonical.com>
---
 debian.kvm/config/config.common.ubuntu | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu
index 2680508..ea3348e 100644
--- a/debian.kvm/config/config.common.ubuntu
+++ b/debian.kvm/config/config.common.ubuntu
@@ -506,7 +506,8 @@ CONFIG_DEBUG_KERNEL=y
 # CONFIG_DEBUG_PERF_USE_VMALLOC is not set
 # CONFIG_DEBUG_PER_CPU_MAPS is not set
 # CONFIG_DEBUG_PI_LIST is not set
-# CONFIG_DEBUG_RODATA is not set
+CONFIG_DEBUG_RODATA=y
+# CONFIG_DEBUG_RODATA_TEST is not set
 # CONFIG_DEBUG_RT_MUTEXES is not set
 # CONFIG_DEBUG_SECTION_MISMATCH is not set
 CONFIG_DEBUG_SET_MODULE_RONX=y
@@ -521,6 +522,7 @@ CONFIG_DEBUG_SET_MODULE_RONX=y
 # CONFIG_DEBUG_VIRTUAL is not set
 # CONFIG_DEBUG_VM is not set
 # CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
+# CONFIG_DEBUG_WX is not set
 # CONFIG_DECNET is not set
 CONFIG_DECOMPRESS_BZIP2=y
 CONFIG_DECOMPRESS_GZIP=y
-- 
2.7.4





More information about the kernel-team mailing list