Re: [PATCH 07/11] seccomp: simplify sysctls with register_sysctl_init()
From: Kees Cook
Date: Thu Mar 02 2023 - 17:56:41 EST
On Thu, Mar 02, 2023 at 12:28:22PM -0800, Luis Chamberlain wrote:
> 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.
>
> Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx>
Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>
--
Kees Cook