module: Call security_kernel_post_load_data()
authorKees Cook <keescook@chromium.org>
Fri, 2 Oct 2020 17:38:22 +0000 (10:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Oct 2020 11:37:03 +0000 (13:37 +0200)
commit38f901735a9e2b3d182fc04a1dfcdb0d3325ea5d
treeb954c4124cb99c7ff1309dfd5f5d2db411373209
parent4f2d99b06b73800a5fb5b33e1899272e87ed7093
module: Call security_kernel_post_load_data()

Now that there is an API for checking loaded contents for modules
loaded without a file, call into the LSM hooks.

Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: KP Singh <kpsingh@google.com>
Acked-by: Jessica Yu <jeyu@kernel.org>
Link: https://lore.kernel.org/r/20201002173828.2099543-11-keescook@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/module.c