diff options
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2018-07-13 20:05:57 +0200 |
---|---|---|
committer | James Morris <james.morris@microsoft.com> | 2018-07-16 21:31:57 +0200 |
commit | a210fd32a46bae6d05b43860fe3b47732501d63b (patch) | |
tree | 96663ef07a4b46e4beb5115b89cd0c00358629c7 /README | |
parent | security: define new LSM hook named security_kernel_load_data (diff) | |
download | linux-a210fd32a46bae6d05b43860fe3b47732501d63b.tar.xz linux-a210fd32a46bae6d05b43860fe3b47732501d63b.zip |
kexec: add call to LSM hook in original kexec_load syscall
In order for LSMs and IMA-appraisal to differentiate between kexec_load
and kexec_file_load syscalls, both the original and new syscalls must
call an LSM hook. This patch adds a call to security_kernel_load_data()
in the original kexec_load syscall.
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Cc: Eric Biederman <ebiederm@xmission.com>
Cc: Kees Cook <keescook@chromium.org>
Acked-by: Serge Hallyn <serge@hallyn.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <james.morris@microsoft.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions