diff options
author | 2024-02-18 09:40:58 +0100 | |
---|---|---|
committer | 2024-02-22 20:08:03 +0100 | |
commit | f4311756a83fb01c28a9bf841cbb7eb2b318eebf (patch) | |
tree | 3d8713631aeb8c1a5848ac3078cdb3a14fa97811 /scripts/generate_rust_analyzer.py | |
parent | PM: hibernate: Support to select compression algorithm (diff) | |
download | linux-rng-f4311756a83fb01c28a9bf841cbb7eb2b318eebf.tar.xz linux-rng-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 <christophe.leroy@csgroup.eu>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions