Re: [tip:x86/asm] x86-64: Use normal ptregs stub for execve

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

 



On 01/27/2010 07:21 AM, Brian Gerst wrote:
> 
> I see what is going on.  Grub is a 32-bit statically linked executable
> even on a 64-bit distro.  The old execve stub forced return to
> userspace via iret, but PTREGSCALL apparently doesn't.  This means
> that the 32-bit %cs isn't getting set.  Drop this patch for now.
> 

OK, I presume that breaks execing any 32-bit app, not just statically
linked (eww...)

Yet one more case of Grub making me shudder, though :-/

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.

--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux