Files
android_kernel_samsung_msm8…/include/linux
Kees Cook fec70e69fe CHROMIUM: security: introduce kernel_module_from_file hook
Now that kernel module origins can be reasoned about, provide a hook to
the LSMs to make policy decisions about the module file.

Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Serge E. Hallyn <serge.hallyn@canonical.com>
Acked-by: Eric Paris <eparis@redhat.com>

[accepted into Rusty's modules-wip tree for linux-next:
 http://git.kernel.org/?p=linux/kernel/git/rusty/linux.git;a=shortlog;h=refs/heads/modules-wip]
BUG=chromium-os:34134
TEST=parrot build, manual testing

Change-Id: I97f5cc0a0f3c1c04e1dc886d6d20f5a6d82326ac
Reviewed-on: https://gerrit.chromium.org/gerrit/34303
Tested-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Olof Johansson <olofj@chromium.org>
Commit-Ready: Kees Cook <keescook@chromium.org>
2020-12-10 21:34:01 +01:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-09-23 18:05:04 +02:00
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-02 15:14:10 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-06 10:44:47 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-02 15:14:10 +02:00
2020-09-23 17:37:32 +02:00
…
…
…
…
…
…
…
…
…
…
2019-08-06 10:44:15 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-06 12:26:30 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-08-08 16:42:41 +02:00
…
…
…
…
…
…
…
2019-08-02 15:14:10 +02:00
…
…
…
…
2020-08-08 16:42:41 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
2019-08-02 15:14:10 +02:00
…
2019-08-05 14:20:47 +02:00
2020-09-23 17:38:55 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
2019-08-06 10:41:58 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
2019-08-06 10:44:38 +02:00
…
…
…
…
…
…
…
…
…
2020-09-23 17:38:52 +02:00
…
…
…
…
…
…
…
…
…
…
…
2019-08-06 10:44:40 +02:00
…
…
2019-08-02 15:14:10 +02:00
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
2019-08-05 14:20:47 +02:00
2019-08-09 09:13:49 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
2019-08-08 12:09:23 +02:00
…
…
…
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
…
2019-08-02 15:14:10 +02:00
…
…
…
…
…
…
…
…
2020-09-23 17:32:10 +02:00
…
…
2019-08-05 09:13:24 +02:00
…
…
…
…
…
…
2014-01-16 18:16:12 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
2019-08-05 14:20:47 +02:00
…
…
2019-08-02 15:14:10 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-09-23 17:37:32 +02:00
…
…
2019-08-05 09:13:25 +02:00
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
2014-07-22 14:33:44 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-09-23 18:05:05 +02:00
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
2019-08-09 12:04:26 +02:00
…
…
…
…
2019-08-05 14:20:47 +02:00
2019-08-06 12:26:30 +02:00
…
…
…
…
…
…
…
2013-11-17 11:31:01 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-12-26 14:33:32 -08:00
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
2019-08-02 15:14:10 +02:00
2019-08-06 08:16:29 +02:00
…
…
…
…