Skip to content
Snippets Groups Projects
Commit 02a6b455 authored by Luis Chamberlain's avatar Luis Chamberlain
Browse files

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: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
parent 98cfeb8d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment