diff options
| author | Christophe Leroy <[email protected]> | 2024-02-18 08:40:58 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2024-02-22 19:08:03 +0000 |
| commit | f4311756a83fb01c28a9bf841cbb7eb2b318eebf (patch) | |
| tree | 3d8713631aeb8c1a5848ac3078cdb3a14fa97811 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | PM: hibernate: Support to select compression algorithm (diff) | |
| download | kernel-f4311756a83fb01c28a9bf841cbb7eb2b318eebf.tar.gz kernel-f4311756a83fb01c28a9bf841cbb7eb2b318eebf.zip | |
PM: hibernate: Don't ignore return from set_memory_ro()
set_memory_ro() and set_memory_rw() can fail, leaving memory
unprotected.
Take the returned value into account and abort in case of
failure.
Signed-off-by: Christophe Leroy <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
