Displaying 1 result from an estimated 1 matches for "d32b9b9".
Did you mean:
d32929
2014 Jan 25
0
[klibc:master] i386: use the vdso for system calls on i386
...ret
+ .type __syscall_int80, at function
+ .size __syscall_int80,.-__syscall_int80
+
+ .data
+ .align 4
+ .globl __syscall_entry
+__syscall_entry:
+ .long __syscall_int80
+ .size __syscall_entry,.-__syscall_entry
diff --git a/usr/klibc/arch/i386/vfork.S b/usr/klibc/arch/i386/vfork.S
index c98ba3a..d32b9b9 100644
--- a/usr/klibc/arch/i386/vfork.S
+++ b/usr/klibc/arch/i386/vfork.S
@@ -4,7 +4,10 @@
# vfork is nasty - there must be nothing at all on the stack above
# the stack frame of the enclosing function.
#
-
+# We *MUST* use int $0x80, because calling the vdso would screw up
+# our stack handlin...