aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/firmware_loader/fallback.c
diff options
context:
space:
mode:
authorMimi Zohar <[email protected]>2018-07-13 18:05:57 +0000
committerJames Morris <[email protected]>2018-07-16 19:31:57 +0000
commita210fd32a46bae6d05b43860fe3b47732501d63b (patch)
tree96663ef07a4b46e4beb5115b89cd0c00358629c7 /drivers/base/firmware_loader/fallback.c
parentsecurity: define new LSM hook named security_kernel_load_data (diff)
downloadkernel-a210fd32a46bae6d05b43860fe3b47732501d63b.tar.gz
kernel-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 <[email protected]> Cc: Eric Biederman <[email protected]> Cc: Kees Cook <[email protected]> Acked-by: Serge Hallyn <[email protected]> Acked-by: Kees Cook <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'drivers/base/firmware_loader/fallback.c')
0 files changed, 0 insertions, 0 deletions