bpf: Move BPF sysctls from kernel/sysctl.c to BPF core
authorYan Zhu <zhuyan34@huawei.com>
Thu, 7 Apr 2022 07:07:59 +0000 (15:07 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 13 Apr 2022 19:36:56 +0000 (21:36 +0200)
commit2900005ea287b11dcc8c1b9fcf24893b7ff41d6d
tree1e0d41a5af2017c5510565a6ebe6aa86feba0110
parent3123109284176b1532874591f7c81f3837bbdc17
bpf: Move BPF sysctls from kernel/sysctl.c to BPF core

We're moving sysctls out of kernel/sysctl.c as it is a mess. We
already moved all filesystem sysctls out. And with time the goal
is to move all sysctls out to their own subsystem/actual user.

kernel/sysctl.c has grown to an insane mess and its easy to run
into conflicts with it. The effort to move them out into various
subsystems is part of this.

Signed-off-by: Yan Zhu <zhuyan34@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/bpf/20220407070759.29506-1-zhuyan34@huawei.com
kernel/bpf/syscall.c
kernel/sysctl.c