lkml.org 
[lkml]   [2006]   [Mar]   [15]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 15 Mar 2006 01:41:49 -0800
FromChris Wright <>
SubjectRe: [RFC, PATCH 7/24] i386 Vmi memory hole
* Zachary Amsden (zach@vmware.com) wrote:
> >+       DEFINE(VSYSCALL_BASE, (PAGE_OFFSET - 2*PAGE_SIZE));
> 
> Ok, I'm confused.  What fixed math?

Sorry, bad choice of words.  From above, the VYSYCALL_BASE is known
at compile time (in asm-offsets.h).  So the SYSENTER_RETURN is still
fixed addr.  For execshield it's truly dynamic, so you get something
like this instead of the constant SYSENTER_RETURN:

-	pushl $SYSENTER_RETURN
+	pushl (TI_sysenter_return-THREAD_SIZE+8+4*4)(%esp)

thanks,
-chris
-
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: 2006-03-15 10:39    [from the cache]
©2003-2008