Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Luis Chamberlain <[email protected]>
- Loading branch information