summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuck Ebbert <76306.1226@compuserve.com>2006-03-23 11:59:48 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-23 16:38:06 +0100
commitbe0a39120cb6b88bd085a3a280f5c769a3ed85ad (patch)
tree39a882518d67f22894cdec615db32aad2b070f73
parent[PATCH] i386: fix singlestep through an int80 syscall (diff)
downloadlinux-be0a39120cb6b88bd085a3a280f5c769a3ed85ad.tar.xz
linux-be0a39120cb6b88bd085a3a280f5c769a3ed85ad.zip
[PATCH] i386: more vsyscall documentation
Document a limitation of vsyscall-sysenter, since patches to fix it have been rejected. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--arch/i386/kernel/vsyscall-sysenter.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/i386/kernel/vsyscall-sysenter.S b/arch/i386/kernel/vsyscall-sysenter.S
index 76b728159403..3b62baa6a371 100644
--- a/arch/i386/kernel/vsyscall-sysenter.S
+++ b/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