x86emul: SYSRET must change CPL
authorJan Beulich <jbeulich@suse.com>
Tue, 21 Apr 2020 08:51:42 +0000 (10:51 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 21 Apr 2020 08:51:42 +0000 (10:51 +0200)
commita94b55a2986145ab5b357feb340f782d9d199d10
tree068bce961e20ff07c7a4c8b755dad3ebdf31d5d9
parent59b087e3954402c487e0abb4ad9bd05f43669436
x86emul: SYSRET must change CPL

The special AMD behavior of leaving SS mostly alone wasn't really
complete: We need to adjust CPL aka SS.DPL.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/x86_emulate/x86_emulate.c