Skip to content
Commit b91e7089 authored by Brendan Shanks's avatar Brendan Shanks Committed by Borislav Petkov
Browse files

x86/umip: Add emulation/spoofing for SLDT and STR instructions



Add emulation/spoofing of SLDT and STR for both 32- and 64-bit
processes.

Wine users have found a small number of Windows apps using SLDT that
were crashing when run on UMIP-enabled systems.

Originally-by: default avatarRicardo Neri <ricardo.neri-calderon@linux.intel.com>
Reported-by: default avatarAndreas Rammhold <andi@notmuch.email>
Signed-off-by: default avatarBrendan Shanks <bshanks@codeweavers.com>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Acked-by: default avatarAndy Lutomirski <luto@kernel.org>
Reviewed-by: default avatarRicardo Neri <ricardo.neri-calderon@linux.intel.com>
Tested-by: default avatarRicardo Neri <ricardo.neri-calderon@linux.intel.com>
Link: https://lkml.kernel.org/r/20200710224525.21966-1-bshanks@codeweavers.com
parent 40eb0cb4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment