Message ID | 20230330080649.74941-3-roxana.nicolescu@canonical.com |
---|---|
State | New |
Headers | show |
Series | [SRU,F:linux-kvm,v3,1/1] UBUNTU: [Config] kvm: Add support for modifying LDT | expand |
Applied to focal:linux-kvm master-next. Roxana On 30/03/2023 10:06, Roxana Nicolescu wrote: > BugLink: https://bugs.launchpad.net/bugs/2009442 > > Enables CONFIG_MODIFY_LDT_SYSCALL, adding support for modifying > the local descriptor table. This allows glibs autopkgtests to run > properly. > > Config matches main kernel as well as newer versions of linux-kvm. > > Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com> > --- > debian.kvm/config/annotations | 3 +++ > debian.kvm/config/config.common.ubuntu | 3 ++- > 2 files changed, 5 insertions(+), 1 deletion(-) > > diff --git a/debian.kvm/config/annotations b/debian.kvm/config/annotations > index a7509c1813d5..7dc6716f8d52 100644 > --- a/debian.kvm/config/annotations > +++ b/debian.kvm/config/annotations > @@ -26,3 +26,6 @@ CONFIG_SYSTEM_TRUSTED_KEYS policy<{'amd64': '"debian/canonical-certs.pem"'}> > > CONFIG_IP_MULTICAST policy<{'amd64': 'y'}> > CONFIG_IP_MULTICAST mark<ENFORCED> note<LP: #1946672> > + > +CONFIG_MODIFY_LDT_SYSCALL policy<{'amd64': 'y'}> > +CONFIG_MODIFY_LDT_SYSCALL mark<ENFORCED> note<LP: #2009442> > diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu > index 40d99fd74a29..693cb1854c9d 100644 > --- a/debian.kvm/config/config.common.ubuntu > +++ b/debian.kvm/config/config.common.ubuntu > @@ -1475,7 +1475,7 @@ CONFIG_MISC_FILESYSTEMS=y > # CONFIG_MMIOTRACE is not set > CONFIG_MMU=y > CONFIG_MMU_NOTIFIER=y > -# CONFIG_MODIFY_LDT_SYSCALL is not set > +CONFIG_MODIFY_LDT_SYSCALL=y > CONFIG_MODULES=y > CONFIG_MODULES_TREE_LOOKUP=y > CONFIG_MODULES_USE_ELF_RELA=y > @@ -2644,6 +2644,7 @@ CONFIG_VXLAN=m > # CONFIG_X25 is not set > CONFIG_X509_CERTIFICATE_PARSER=y > CONFIG_X86=y > +# CONFIG_X86_16BIT is not set > # CONFIG_X86_5LEVEL is not set > CONFIG_X86_64=y > CONFIG_X86_64_ACPI_NUMA=y
diff --git a/debian.kvm/config/annotations b/debian.kvm/config/annotations index a7509c1813d5..7dc6716f8d52 100644 --- a/debian.kvm/config/annotations +++ b/debian.kvm/config/annotations @@ -26,3 +26,6 @@ CONFIG_SYSTEM_TRUSTED_KEYS policy<{'amd64': '"debian/canonical-certs.pem"'}> CONFIG_IP_MULTICAST policy<{'amd64': 'y'}> CONFIG_IP_MULTICAST mark<ENFORCED> note<LP: #1946672> + +CONFIG_MODIFY_LDT_SYSCALL policy<{'amd64': 'y'}> +CONFIG_MODIFY_LDT_SYSCALL mark<ENFORCED> note<LP: #2009442> diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu index 40d99fd74a29..693cb1854c9d 100644 --- a/debian.kvm/config/config.common.ubuntu +++ b/debian.kvm/config/config.common.ubuntu @@ -1475,7 +1475,7 @@ CONFIG_MISC_FILESYSTEMS=y # CONFIG_MMIOTRACE is not set CONFIG_MMU=y CONFIG_MMU_NOTIFIER=y -# CONFIG_MODIFY_LDT_SYSCALL is not set +CONFIG_MODIFY_LDT_SYSCALL=y CONFIG_MODULES=y CONFIG_MODULES_TREE_LOOKUP=y CONFIG_MODULES_USE_ELF_RELA=y @@ -2644,6 +2644,7 @@ CONFIG_VXLAN=m # CONFIG_X25 is not set CONFIG_X509_CERTIFICATE_PARSER=y CONFIG_X86=y +# CONFIG_X86_16BIT is not set # CONFIG_X86_5LEVEL is not set CONFIG_X86_64=y CONFIG_X86_64_ACPI_NUMA=y
BugLink: https://bugs.launchpad.net/bugs/2009442 Enables CONFIG_MODIFY_LDT_SYSCALL, adding support for modifying the local descriptor table. This allows glibs autopkgtests to run properly. Config matches main kernel as well as newer versions of linux-kvm. Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com> --- debian.kvm/config/annotations | 3 +++ debian.kvm/config/config.common.ubuntu | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-)