[SRU][B/F:linux-kvm][[PATCH 1/1] UBUNTU: [Config] kvm: Add support for modifying LDT

Stefan Bader stefan.bader at canonical.com
Wed Mar 15 09:20:08 UTC 2023


On 13.03.23 17:28, 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 at canonical.com>
> ---

I am geared towards NACK here because it would be better to have this 
documented/enforced in annotations. Even with the risk that you then 
need 2 patches due to context.
Also, that is an issue but was the related bug report generated with the 
script for ADT failures? Cause in that case, once you decide this is to 
be solved on the kernel side, you should invalidate (best with a note) 
the other source which initially gets marked as affected. In this case 
autopkgtest. There was already a question about this.

-Stefan

>   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 8bedc2793145..441e71ed7d90 100644
> --- a/debian.kvm/config/config.common.ubuntu
> +++ b/debian.kvm/config/config.common.ubuntu
> @@ -1387,7 +1387,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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xE8675DEECBEECEA3.asc
Type: application/pgp-keys
Size: 44613 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20230315/cfc930fc/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20230315/cfc930fc/attachment-0001.sig>


More information about the kernel-team mailing list