git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LSM: Introduce kernel_post_load_data() hook
[sfrench/cifs-2.6.git]
/
kernel
/
kexec.c
diff --git
a/kernel/kexec.c
b/kernel/kexec.c
index f977786fe498fb7241337c6da0e94e3a0ad85d34..c82c6c06f0518f3591de33431904d60175e69bc2 100644
(file)
--- a/
kernel/kexec.c
+++ b/
kernel/kexec.c
@@
-205,7
+205,7
@@
static inline int kexec_load_check(unsigned long nr_segments,
return -EPERM;
/* Permit LSMs and IMA to fail the kexec */
- result = security_kernel_load_data(LOADING_KEXEC_IMAGE);
+ result = security_kernel_load_data(LOADING_KEXEC_IMAGE
, false
);
if (result < 0)
return result;