[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87r0qnk5wk.ffs@tglx>
Date: Wed, 07 Jun 2023 10:55:55 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: Nikolay Borisov <nik.borisov@...e.com>, x86@...nel.org
Cc: linux-kernel@...r.kernel.org, mhocko@...e.com, jslaby@...e.cz,
Nikolay Borisov <nik.borisov@...e.com>
Subject: Re: [PATCH 1/3] x86: Introduce ia32_disabled boot parameter
On Wed, Jun 07 2023 at 10:29, Nikolay Borisov wrote:
> Distributions would like to reduce their attack surface as much as
> possible but at the same time they have to cater to a wide variety of
> legacy software. One such avenue where distros have to strike a balance
> is the support for 32bit syscalls on a 64bit kernel. Ideally we'd have
> the ability to disable the the compat support at boot time. This would
> allow the decision whether it should be disabled/enabled can be
> delegated to system administrators.
>
> This patch simply introduces ia32_disable boot parameter which aims at
https://www.kernel.org/doc/html/latest/process/maintainer-tip.html
> disabling 32 bit process support even if CONFIG_IA32_EMULATION has been
> selected at build time.
>
> Signed-off-by: Nikolay Borisov <nik.borisov@...e.com>
> ---
> arch/x86/entry/common.c | 12 ++++++++++++
> arch/x86/include/asm/traps.h | 4 ++++
New command line parameters require documentation.
https://www.kernel.org/doc/html/latest/process/
Thanks,
tglx
Powered by blists - more mailing lists