Re: [PATCH v2 2/2] syscall_user_dispatch: add kernel.syscall_user_dispatch sysctl

From: Gregory Price

Date: Sun Jul 05 2026 - 20:07:25 EST


On Sun, Jul 05, 2026 at 10:35:08PM +0200, Thomas Gleixner wrote:
> > #include <linux/signal.h>
> > #include <linux/elf.h>
> > +#include <linux/sysctl.h>
>
> It's already not ordered correctly, but the rule is that we fix up the
> include order to alphabetic ordering when we touch it.
>

ack.

> > +#ifdef CONFIG_SYSCTL
> > +static const struct ctl_table syscall_user_dispatch_sysctls[] = {
> > + {
> > + .procname = "syscall_user_dispatch",
> > + .data = &syscall_user_dispatch_allowed,
> > + .maxlen = sizeof(syscall_user_dispatch_allowed),
> > + .mode = 0644,
> > + .proc_handler = proc_dointvec_minmax,
>
> proc_dobool() exists for a reason.

ack.