]> xenbits.xensource.com Git - osstest/seabios.git/commit
optionrom: disallow int19 redirect for pnp roms.
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 20 Nov 2018 07:06:55 +0000 (08:06 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 22 May 2019 06:01:20 +0000 (08:01 +0200)
commit0932c20560574696cf87ddd12623e8c423ee821b
tree26a78ce9c8e90175231950e7fe17c336c7b07285
parent18d237b4e43ea24795f522c0aab1b4f54100ca80
optionrom: disallow int19 redirect for pnp roms.

Check whenever pnp roms attempt to redirect int19, and in case it does
log a message and undo the redirect.

A pnp rom should not need this, we have BEVs and BCVs for that.
Nevertheless there are roms in the wild which are redirecting int19.
At least some BIOS implementations for physical hardware have a config
option in the setup to allow/disallow int19 redirections, so just not
allowing this seems to be the way to deal with this situation.

Buglink: https://bugzilla.redhat.com//show_bug.cgi?id=1642135
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Matt DeVillier <matt.devillier@gmail.com>
src/optionroms.c