diff options
author | Steven Chen <chenste@linux.microsoft.com> | 2025-04-22 01:25:13 +0300 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2025-04-29 22:54:54 +0300 |
commit | d0a00ce470e3ea19ba3b9f1c390aee739570a44a (patch) | |
tree | dc0e448b8342f9ef88b2e7b2c32ae38d9bceba27 /scripts/lib/kdoc/kdoc_files.py | |
parent | 9f0ec4b16f2b41d663f688a8012e9e52b2657eba (diff) | |
download | linux-d0a00ce470e3ea19ba3b9f1c390aee739570a44a.tar.xz |
ima: verify if the segment size has changed
kexec 'load' may be called multiple times. Free and realloc the buffer
only if the segment_size is changed from the previous kexec 'load' call.
Signed-off-by: Steven Chen <chenste@linux.microsoft.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Acked-by: Baoquan He <bhe@redhat.com>
Tested-by: Stefan Berger <stefanb@linux.ibm.com> # ppc64/kvm
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions