Re: [PATCH v2] seccomp: Stub for !CONFIG_SECCOMP

From: Kees Cook
Date: Wed Jan 08 2025 - 17:51:24 EST


On Wed, 08 Jan 2025 23:44:45 +0100, Linus Walleij wrote:
> When using !CONFIG_SECCOMP with CONFIG_GENERIC_ENTRY, the
> randconfig bots found the following snag:
>
> kernel/entry/common.c: In function 'syscall_trace_enter':
> >> kernel/entry/common.c:52:23: error: implicit declaration
> of function '__secure_computing' [-Wimplicit-function-declaration]
> 52 | ret = __secure_computing(NULL);
> | ^~~~~~~~~~~~~~~~~~
>
> [...]

Applied to for-next/seccomp, thanks!

[1/1] seccomp: Stub for !CONFIG_SECCOMP
https://git.kernel.org/kees/c/f90877dd7fb5

Take care,

--
Kees Cook