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

Re: [Xen-devel] [PATCH] Make strace happy with xeno64.



On 10 Jun 2005, at 09:35, Keir Fraser wrote:

I will test it
If xenlinux really is using selector E033 then it won;t fix the 
problem. You need to fix the USER_CS macros to use the selectors in 
xenlinux's GDT.
Ah, I now understand the problem. When the application executes SYSCALL 
we lose the value of CS, and Xen recreates it as 0xE033. The best fix 
to is bring back the macro FIXUP_TOP_OF_STACK in 
arch/xen/x86_64/kernel/entry.S, and call it everywhere that the 
original arch/x86_64/kernel/entry.S calls it.
I've checked this fix in -- if you test now then hopefully the strace 
problem is gone.
 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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