lkml.org 
[lkml]   [2015]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Xen-devel] [PATCH] xen/x86: Adjust stack pointer in xen_sysexit
From
Date
On 11/17/2015 02:16 PM, Andy Lutomirski wrote:
>>> Looks good to me. Does Xen have any sysexit/sysret32 equivalent to
>>> return to 32-bit user mode? If so, it could be worth trying to wire
>>> it up by patching the jz instead of the test instruction.

We can actually make patching a little bit more efficient by replacing
the test instruction with 'xor %eax,%eax'. That way we won't need any
'nop's.


-boris


\
 
 \ /
  Last update: 2015-11-17 21:01    [W:0.057 / U:0.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site