commit | 02a6b455fb35d29620ceaa0ed053ae9846f875ca | [log] [tgz] |
---|---|---|
author | Luis Chamberlain <mcgrof@kernel.org> | Thu Mar 02 12:28:22 2023 -0800 |
committer | Luis Chamberlain <mcgrof@kernel.org> | Thu Apr 13 11:49:20 2023 -0700 |
tree | fed9f00b5ba93a05211db9573b2dc5b9bfeac9db | |
parent | 98cfeb8d540aa009cd5cb973def265b6c44afa00 [diff] |
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>