Re: [PATCH 07/11] seccomp: simplify sysctls with register_sysctl_init()
From: Kees Cook <hidden>
Date: 2023-03-02 22:56:34
Also in:
linux-fsdevel, linux-patches, lkml
From: Kees Cook <hidden>
Date: 2023-03-02 22:56:34
Also in:
linux-fsdevel, linux-patches, lkml
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@kernel.org>
Acked-by: Kees Cook <redacted> -- Kees Cook