Patchwork [1/2,nexus4] UBUNTU: [Config] CONFIG_STRICT_MEMORY_RWX=n

login
register
mail settings
Submitter Seth Forshee
Date April 16, 2013, 8:06 p.m.
Message ID <1366142780-32294-2-git-send-email-seth.forshee@canonical.com>
Download mbox | patch
Permalink /patch/237071/
State New
Headers show

Comments

Seth Forshee - April 16, 2013, 8:06 p.m.
This option causes the kernel's text section to be set to be read
only. This doesn't play well with dynamic function tracing, as
ftrace enables and disables tracing of a given function by
modifying instructions at runtime. We really want to be able to
use dynamic function tracing, so disable the option that's
standing in our way.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
---
 debian.nexus4/config/config.common.ubuntu |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/debian.nexus4/config/config.common.ubuntu b/debian.nexus4/config/config.common.ubuntu
index b1532f3..c404197 100644
--- a/debian.nexus4/config/config.common.ubuntu
+++ b/debian.nexus4/config/config.common.ubuntu
@@ -2401,7 +2401,7 @@  CONFIG_STANDALONE=y
 # CONFIG_STM_LIS3DH is not set
 CONFIG_STOP_MACHINE=y
 CONFIG_STRICT_DEVMEM=y
-CONFIG_STRICT_MEMORY_RWX=y
+# CONFIG_STRICT_MEMORY_RWX is not set
 # CONFIG_STRIP_ASM_SYMS is not set
 # CONFIG_SUN_PARTITION is not set
 CONFIG_SUSPEND=y