diff mbox series

[C/linux-aws,D/linux-aws,SRU,1/1] UBUNTU: [Config]: enable PAGE_POISONING, PAGE_POISONING_NO_SANITY, PAGE_POISONING_ZERO

Message ID 20190221132517.15853-2-po-hsu.lin@canonical.com
State New
Headers show
Series enable PAGE_POISONING, PAGE_POISONING_NO_SANITY, PAGE_POISONING_ZERO | expand

Commit Message

Po-Hsu Lin Feb. 21, 2019, 1:25 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1812624

Enable these options to match config setting in the generic kernels and
the requirement from the security team.

Note that this should not have performance impact as this will need to
be enabled with page_poison=1 kernel boot option.

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

Comments

Stefan Bader March 1, 2019, 3:17 p.m. UTC | #1
On 21.02.19 14:25, Po-Hsu Lin wrote:
> BugLink: https://bugs.launchpad.net/bugs/1812624
> 
> Enable these options to match config setting in the generic kernels and
> the requirement from the security team.
> 
> Note that this should not have performance impact as this will need to
> be enabled with page_poison=1 kernel boot option.
> 
> Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
> ---

Applied to cosmic/linux-aws/master. Thanks.

-Stefan

>  debian.aws/config/config.common.ubuntu | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/debian.aws/config/config.common.ubuntu b/debian.aws/config/config.common.ubuntu
> index fca79ae..f7aedeb 100644
> --- a/debian.aws/config/config.common.ubuntu
> +++ b/debian.aws/config/config.common.ubuntu
> @@ -5546,7 +5546,9 @@ CONFIG_PADATA=y
>  CONFIG_PAGE_COUNTER=y
>  # CONFIG_PAGE_EXTENSION is not set
>  # CONFIG_PAGE_OWNER is not set
> -# CONFIG_PAGE_POISONING is not set
> +CONFIG_PAGE_POISONING=y
> +CONFIG_PAGE_POISONING_NO_SANITY=y
> +CONFIG_PAGE_POISONING_ZERO=y
>  CONFIG_PAGE_POOL=y
>  CONFIG_PAGE_TABLE_ISOLATION=y
>  CONFIG_PALMAS_GPADC=m
>
diff mbox series

Patch

diff --git a/debian.aws/config/config.common.ubuntu b/debian.aws/config/config.common.ubuntu
index fca79ae..f7aedeb 100644
--- a/debian.aws/config/config.common.ubuntu
+++ b/debian.aws/config/config.common.ubuntu
@@ -5546,7 +5546,9 @@  CONFIG_PADATA=y
 CONFIG_PAGE_COUNTER=y
 # CONFIG_PAGE_EXTENSION is not set
 # CONFIG_PAGE_OWNER is not set
-# CONFIG_PAGE_POISONING is not set
+CONFIG_PAGE_POISONING=y
+CONFIG_PAGE_POISONING_NO_SANITY=y
+CONFIG_PAGE_POISONING_ZERO=y
 CONFIG_PAGE_POOL=y
 CONFIG_PAGE_TABLE_ISOLATION=y
 CONFIG_PALMAS_GPADC=m