]> git.ipfire.org Git - thirdparty/grub.git/commit
commands/memrw: Disable memory reading in lockdown mode
authorB Horn <b@horn.uk>
Thu, 18 Apr 2024 19:37:10 +0000 (20:37 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 13 Feb 2025 14:45:56 +0000 (15:45 +0100)
commit340e4d058f584534f4b90b7dbea2b64a9f8c418c
tree729e044adba6bd963e5042ae00fbfdda13ee1347
parent34824806ac6302f91e8cabaa41308eaced25725f
commands/memrw: Disable memory reading in lockdown mode

With the rest of module being blocked in lockdown mode it does not make
a lot of sense to leave memory reading enabled. This also goes in par
with disabling the dump command.

Reported-by: B Horn <b@horn.uk>
Signed-off-by: B Horn <b@horn.uk>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/commands/memrw.c