Browse Source

[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>
Chuck Ebbert 19 years ago
parent
commit
be0a39120c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      arch/i386/kernel/vsyscall-sysenter.S

+ 3 - 0
arch/i386/kernel/vsyscall-sysenter.S

@@ -21,6 +21,9 @@
  * instruction clobbers %esp, the user's %esp won't even survive entry
  * 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
  * into the kernel. We store %esp in %ebp. Code in entry.S must fetch
  * arg6 from the stack.
  * 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
 	.text
 	.globl __kernel_vsyscall
 	.globl __kernel_vsyscall