diff options
author | Mimi Zohar <[email protected]> | 2016-01-14 20:59:14 -0500 |
---|---|---|
committer | Mimi Zohar <[email protected]> | 2016-02-21 09:06:14 -0500 |
commit | b804defe4297157a9ff45863769efe9a01953398 (patch) | |
tree | 562c479b3b93e922ac99a0afe94d09015e3cf11d /tools/perf/scripts/python/sctop.py | |
parent | c6af8efe97d87fa308eb1bbd0cf4feb820a4d622 (diff) |
kexec: replace call to copy_file_from_fd() with kernel version
Replace copy_file_from_fd() with kernel_read_file_from_fd().
Two new identifiers named READING_KEXEC_IMAGE and READING_KEXEC_INITRAMFS
are defined for measuring, appraising or auditing the kexec image and
initramfs.
Changelog v3:
- return -EBADF, not -ENOEXEC
- identifier change
- split patch, moving copy_file_from_fd() to a separate patch
- split patch, moving IMA changes to a separate patch
v0:
- use kstat file size type loff_t, not size_t
- Calculate the file hash from the in memory buffer - Dave Young
Signed-off-by: Mimi Zohar <[email protected]>
Acked-by: Kees Cook <[email protected]>
Acked-by: Luis R. Rodriguez <[email protected]>
Cc: Eric Biederman <[email protected]>
Acked-by: Dave Young <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions