[Acked/cmt] [linux-kvm-x][PATCHv2] UBUNTU: kvm: [config] enable CONFIG_DEBUG_RODATA
Andy Whitcroft
apw at canonical.com
Tue May 22 10:55:08 UTC 2018
On Mon, May 07, 2018 at 03:19:34PM +0800, Po-Hsu Lin wrote:
> 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
That should be "UBUNTU: [Config]: enable CONFIG_DEBUG_RODATA".
Otherwise looks sane and requested by Security.
Acked-by: Andy Whitcroft <apw at canonical.com>
-apw
More information about the kernel-team
mailing list