Files
Karl Mehltretter 353a95f1cd syscall_user_dispatch: Use CONFIG_SYSCTL for sysctl guard
Commit 8d75c338f0 ("sysctl: remove CONFIG_PROC_SYSCTL, it just mirrors
CONFIG_SYSCTL") removed CONFIG_PROC_SYSCTL, but the sysctl added by
commit 5b6e32ba7b ("syscall_user_dispatch: Add
kernel.syscall_user_dispatch sysctl") is still guarded by it. Now that
both commits are merged, kernel.syscall_user_dispatch is no longer
registered.

syscall_user_dispatch_allowed defaults to true. SUD therefore remains
available, but administrators cannot disable new activations.

Use CONFIG_SYSCTL for the guard and documentation.

Fixes: 5b6e32ba7b ("syscall_user_dispatch: Add kernel.syscall_user_dispatch sysctl")
Assisted-by: Codex:gpt-5.6-sol
Acked-by: Oleg Nesterov <[email protected]>
Reviewed-by: Joel Granados <[email protected]>
Signed-off-by: Karl Mehltretter <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Reviewed-by: Bradley Morgan <[email protected]>
Signed-off-by: Joel Granados <[email protected]>
2026-09-07 14:00:56 +02:00
..
…
…
2026-08-04 19:18:35 -07:00