Messages in this thread | | | Subject | Re: [PATCH 2/2] x86/Xen/32: simplify xen_iret_crit_fixup's ring check | From | Jürgen Groß <> | Date | Tue, 19 Nov 2019 14:18:15 +0100 |
| |
On 11.11.19 15:32, Jan Beulich wrote: > This can be had with two instead of six insns, by just checking the high > CS.RPL bit. > > Also adjust the comment - there would be no #GP in the mentioned cases, > as there's no segment limit violation or alike. Instead there'd be #PF, > but that one reports the target EIP of said branch, not the address of > the branch insn itself. > > Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Juergen
| |