diff mbox series

[bionic/linux-kvm,SRU] UBUNTU: [Config]: enable CONFIG_DEBUG_WX

Message ID 20180725025205.10980-1-po-hsu.lin@canonical.com
State New
Headers show
Series [bionic/linux-kvm,SRU] UBUNTU: [Config]: enable CONFIG_DEBUG_WX | expand

Commit Message

Po-Hsu Lin July 25, 2018, 2:52 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1782721

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

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

Comments

Stefan Bader July 25, 2018, 2:53 p.m. UTC | #1
On 25.07.2018 04:52, Po-Hsu Lin wrote:
> BugLink: https://bugs.launchpad.net/bugs/1782721
> 
> Enable the CONFIG_DEBUG_WX, which is required by kernel security tests.
> 
> Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
> ---
>  debian.kvm/config/config.common.ubuntu | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu
> index 42a15c8..b330155 100644
> --- a/debian.kvm/config/config.common.ubuntu
> +++ b/debian.kvm/config/config.common.ubuntu
> @@ -585,7 +585,7 @@ CONFIG_DEBUG_KERNEL=y
>  # CONFIG_DEBUG_VM is not set
>  # CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set
>  # CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
> -# CONFIG_DEBUG_WX is not set
> +CONFIG_DEBUG_WX=y
>  # CONFIG_DECNET is not set
>  CONFIG_DECOMPRESS_BZIP2=y
>  CONFIG_DECOMPRESS_GZIP=y
>
Kamal Mostafa July 25, 2018, 4:20 p.m. UTC | #2
Thanks Sam.  Also, linux-kvm-xenial needs this too (I'll apply it to
both).

Acked-by: Kamal Mostafa <kamal@canonical.com>

 -Kamal


On Wed, Jul 25, 2018 at 10:52:05AM +0800, Po-Hsu Lin wrote:
> BugLink: https://bugs.launchpad.net/bugs/1782721
> 
> Enable the CONFIG_DEBUG_WX, which is required by kernel security tests.
> 
> Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
> ---
>  debian.kvm/config/config.common.ubuntu | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu
> index 42a15c8..b330155 100644
> --- a/debian.kvm/config/config.common.ubuntu
> +++ b/debian.kvm/config/config.common.ubuntu
> @@ -585,7 +585,7 @@ CONFIG_DEBUG_KERNEL=y
>  # CONFIG_DEBUG_VM is not set
>  # CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set
>  # CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
> -# CONFIG_DEBUG_WX is not set
> +CONFIG_DEBUG_WX=y
>  # CONFIG_DECNET is not set
>  CONFIG_DECOMPRESS_BZIP2=y
>  CONFIG_DECOMPRESS_GZIP=y
> -- 
> 2.7.4
>
Kamal Mostafa July 25, 2018, 5:19 p.m. UTC | #3
Applied to linux-kvm-{bionic,xenial}.

Thanks, Sam!

 -Kamal.

On Wed, Jul 25, 2018 at 10:52:05AM +0800, Po-Hsu Lin wrote:
> BugLink: https://bugs.launchpad.net/bugs/1782721
> 
> Enable the CONFIG_DEBUG_WX, which is required by kernel security tests.
> 
> Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
> ---
>  debian.kvm/config/config.common.ubuntu | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu
> index 42a15c8..b330155 100644
> --- a/debian.kvm/config/config.common.ubuntu
> +++ b/debian.kvm/config/config.common.ubuntu
> @@ -585,7 +585,7 @@ CONFIG_DEBUG_KERNEL=y
>  # CONFIG_DEBUG_VM is not set
>  # CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set
>  # CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
> -# CONFIG_DEBUG_WX is not set
> +CONFIG_DEBUG_WX=y
>  # CONFIG_DECNET is not set
>  CONFIG_DECOMPRESS_BZIP2=y
>  CONFIG_DECOMPRESS_GZIP=y
> -- 
> 2.7.4
>
diff mbox series

Patch

diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu
index 42a15c8..b330155 100644
--- a/debian.kvm/config/config.common.ubuntu
+++ b/debian.kvm/config/config.common.ubuntu
@@ -585,7 +585,7 @@  CONFIG_DEBUG_KERNEL=y
 # CONFIG_DEBUG_VM is not set
 # CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set
 # CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
-# CONFIG_DEBUG_WX is not set
+CONFIG_DEBUG_WX=y
 # CONFIG_DECNET is not set
 CONFIG_DECOMPRESS_BZIP2=y
 CONFIG_DECOMPRESS_GZIP=y