[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Should hvm_hw_cpu's sysenter_eip always be zero after xc_domain_hvm_getcontext_partial()?



>>> On 31.07.15 at 17:36, <andrew.cooper3@xxxxxxxxxx> wrote:
> On 31/07/15 16:30, Razvan Cojocaru wrote:
>> On 07/31/2015 06:13 PM, Andrew Cooper wrote:
>>> Are you certain that the guest is actually setting it?  If the guest
>>> never sets it in the first place, 0 will be the expected value.
>> That might be it, I'll need to look closer.
> 
> Any credible 64bit kernel will not rely on sysenter, as it only
> available on Intel, and any kernel trying to reduce its attack surface
> will likely not enable it in the first place.

Iirc Linux still prefers to use SYSENTER for its 32-bit compat mode
syscall entry on Intel systems.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.