On Friday 02 February 2007 21:12, Jeff Dike wrote:
> On Fri, Feb 02, 2007 at 06:48:39PM +0100, Blaisorblade wrote:
> > Is this a recent regression or did this always happen?
>
> I haven't looked at the history of the code, but it has the look of
> something that's been there a long time.
>
> > Is this the bug diagnosed by Bodo Stroesser time ago, or only it looks
> > similar? I recall vaguely that in that bug RCX was corrupted.
>
> No, RCX corruption is different - that happens when a sysexit is done
> from a system call where userspace wasn't prepared to save and restore
> RCX.  sigreturn is the best example.

Hmm... we should finally fix that, at some point. Or... now that you explain 
it this way, it could even seem unfixable... is it? Or maybe sysreturn should 
become a syscall where the return must happen through the slow return path 
(iret), if that exists for x86_64.

> > Above all, how can UML run in SKAS0 mode with this bug (if it can)?
>
> The impact is limited by several things -
>       it must be a 32-bit UML on a 64-bit host
>       the system call must have 6 arguments - mmap and pselect are
> the only 6-argument system calls that I can find quickly
>       the system call must be made through sysenter - int 0x80 is
> fine
>
> But, a 32-bit UML making mmap calls through sysenter indeed does not run
> very well.

Has this been fixed? I've read that Chuck Ebbert had already fixed this in 
your diary, but not sent the patch.

I'd open an entry in bugzilla for this sort of things. It also seems that 
Jason Lunz's patch about max_low_pfn is not even in your tree, and that the 
x86_64 PTRACE_OLDSETOPTIONS fix is not yet in the main git tree. Hmm....

And the udelay() fixes didn't get merged, in the end. Bah, I need more time!

-- 
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to