[RFC PATCH 3/9] um: Add UML_SECCOMP configuration option

Johannes Berg johannes at sipsolutions.net
Thu Oct 10 04:49:21 PDT 2024


On Wed, 2024-09-25 at 22:32 +0200, Benjamin Berg wrote:
> Add the UML_SECCOMP configuration options. The next commits will add the
> support itself in smaller chunks.
> 
> Only x86_64 will be supported for now.
> 
> Signed-off-by: Benjamin Berg <benjamin at sipsolutions.net>
> Signed-off-by: Benjamin Berg <benjamin.berg at intel.com>
> ---
>  arch/um/Kconfig | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> diff --git a/arch/um/Kconfig b/arch/um/Kconfig
> index 48db1c99bd46..4698e4c8ef29 100644
> --- a/arch/um/Kconfig
> +++ b/arch/um/Kconfig
> @@ -240,6 +240,26 @@ config KASAN_SHADOW_OFFSET
>  	  set to a large value. On low-memory systems, try 0x7fff8000, as it fits
>  	  into the immediate of most instructions, improving performance.
>  
> +config UML_SECCOMP
> +	bool "SECCOMP based userspace"
> +	default n
> 

n is the default so you don't need "default n" :)

johannes



More information about the linux-um mailing list