Re: [PATCH v3 1/5] x86: Make IA32_EMULATION boot time configurable

From: Randy Dunlap
Date: Mon Jun 19 2023 - 17:43:56 EST




On 6/16/23 05:57, Nikolay Borisov wrote:
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index 53bab123a8ee..8bec431c97ce 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -3038,6 +3038,15 @@ config IA32_EMULATION
> 64-bit kernel. You should likely turn this on, unless you're
> 100% sure that you don't have any 32-bit programs left.
>
> +config IA32_EMULATION_DEFAULT_DISABLED
> + bool "IA32 emulation disabled by default"
> + default n
> + depends on IA32_EMULATION
> + help
> + Make IA32 emulation disabled by default. This prevents loading 32bit

32-bit

> + processes and access to 32bit syscalls. If unsure, leave it to its

32-bit

> + default value.

--
~Randy