summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorEnrico Bravi <enrico.bravi@polito.it>2026-10-13 16:46:45 +0200
committerMimi Zohar <zohar@linux.ibm.com>2026-10-14 16:47:48 -0400
commite8386a3360adb6ec327def1557d2c0fd62c49386 (patch)
treecc6b17618b28c570dc215f2268b407d29aacd403 /tools/perf/scripts/python/stackcollapse.py
parent1dc317438308c79cf90a6f14d3e4116347ea3716 (diff)
ima: recover number of violations after kexec
When recovering the IMA measurement list after kexec(), currently, the counter of violations is not restored. This causes a mismatch between the real number of violations and the value reported by the <securityfs>/ima/violations file. Restore the violations counter during the IMA measurement list recovery. This mechanism does not take into account false positives. A legit all-zeros hash is treated as a violation. Reported-by: Roberto Sassu <roberto.sassu@huawei.com> Closes: https://github.com/linux-integrity/linux/issues/13 Signed-off-by: Enrico Bravi <enrico.bravi@polito.it> Reviewed-and-tested-by: Roberto Sassu <roberto.sassu@huawei.com> [zohar@linux.ibm.com: Fixed patch description line length] Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions