diff options
author | Luis Chamberlain <mcgrof@kernel.org> | 2023-03-02 12:28:22 -0800 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2023-04-13 11:49:20 -0700 |
commit | 02a6b455fb35d29620ceaa0ed053ae9846f875ca (patch) | |
tree | fed9f00b5ba93a05211db9573b2dc5b9bfeac9db /arch/csky | |
parent | 98cfeb8d540aa009cd5cb973def265b6c44afa00 (diff) | |
download | linux-02a6b455fb35d29620ceaa0ed053ae9846f875ca.tar.gz |
seccomp: simplify sysctls with register_sysctl_init()
register_sysctl_paths() is only needed if you have childs (directories)
with entries. Just use register_sysctl_init() as it also does the
kmemleak check for you.
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'arch/csky')
0 files changed, 0 insertions, 0 deletions