On Wed, Feb 23, 2022 at 09:35:29AM +0800, Yan Zhu wrote: > +static struct ctl_table bpf_syscall_table[] = { > + { > + .procname = "unprivileged_bpf_disabled", > + .data = &sysctl_unprivileged_bpf_disabled, > + .maxlen = sizeof(sysctl_unprivileged_bpf_disabled), > + .mode = 0644, > + .proc_handler = bpf_unpriv_handler, > + .extra1 = SYSCTL_ZERO, > + .extra2 = SYSCTL_TWO, > + }, > + { > + .procname = "bpf_stats_enabled", > + .data = &bpf_stats_enabled_key.key, > + .maxlen = sizeof(bpf_stats_enabled_key), > + .mode = 0644, > + .proc_handler = bpf_stats_handler, > + }, > + { } > +}; No progress towards a counted array instead of a NULL terminated one?