2006-02-25 08:14:31

by Chuck Ebbert

[permalink] [raw]
Subject: [patch] i386: more vsyscall documentation

Document a limitation of vsyscall-sysenter, since patches to fix it
have been rejected.

Signed-off-by: Chuck Ebbert <[email protected]>

--- 2.6.16-rc4-64.orig/arch/i386/kernel/vsyscall-sysenter.S
+++ 2.6.16-rc4-64/arch/i386/kernel/vsyscall-sysenter.S
@@ -21,6 +21,9 @@
* instruction clobbers %esp, the user's %esp won't even survive entry
* into the kernel. We store %esp in %ebp. Code in entry.S must fetch
* arg6 from the stack.
+ *
+ * You can not use this vsyscall for the clone() syscall because the
+ * three dwords on the parent stack do not get copied to the child.
*/
.text
.globl __kernel_vsyscall
--
Chuck
"Equations are the Devil's sentences." --Stephen Colbert