Re: [Xen-devel] [PATCH] x86emul: don't allow null selector for LTR

2016-09-26 Thread Andrew Cooper
On 22/09/16 07:38, Jan Beulich wrote: > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH] x86emul: don't allow null selector for LTR

2016-09-22 Thread Konrad Rzeszutek Wilk
On Thu, Sep 22, 2016 at 12:38:22AM -0600, Jan Beulich wrote: > Signed-off-by: Jan Beulich Reviewed-by: Konrad Rzeszutek Wilk > --- > This goes on top of > https://lists.xenproject.org/archives/html/xen-devel/2016-09/msg02198.html > > --- a/xen/arch/x86/x86_emulate/x86_emulate.c > +++ b/xen/arc

[Xen-devel] [PATCH] x86emul: don't allow null selector for LTR

2016-09-21 Thread Jan Beulich
Signed-off-by: Jan Beulich --- This goes on top of https://lists.xenproject.org/archives/html/xen-devel/2016-09/msg02198.html --- a/xen/arch/x86/x86_emulate/x86_emulate.c +++ b/xen/arch/x86/x86_emulate/x86_emulate.c @@ -1207,10 +1207,17 @@ protmode_load_seg( /* NULL selector? */ if ( (