lkml.org 
[lkml]   [2004]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] linux-2.6.2-rc2_vsyscall-gtod_B1.patch
Andrea Arcangeli wrote:
> vsyscalls will never execute anything like execve. They can at most
> modify userspace memory a fixed address, so if the userspace isn't
> fixed, then nothing can be done with a vsyscall.

Are we talking about the same x86_64?

I see this in arch/x86_64/vsyscall.S:

__kernel_vsyscall:
.LSTART_vsyscall:
push %ebp
.Lpush_ebp:
movl %ecx, %ebp
syscall

Is that page not mapped into userspace?

If the answer is no, then btw we were talking about i386 until you joined in. :)
The "sysenter" instruction is definitely mapped into userspace there.

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.172 / U:0.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site