Displaying 1 result from an estimated 1 matches for "0dd363b".
Did you mean:
0d3d3e3b
2014 Jan 25
0
[klibc:master] i386: use the vdso for system calls on i386
...klibc/arch/i386/socketcall.S
+++ b/usr/klibc/arch/i386/socketcall.S
@@ -32,7 +32,7 @@ __socketcall_common:
#endif
movl $__NR_socketcall,%eax
- int $0x80
+ call *__syscall_entry
#ifdef _REGPARM
addl $6*4, %esp
diff --git a/usr/klibc/arch/i386/syscall.S b/usr/klibc/arch/i386/syscall.S
index 0dd363b..b7814e8 100644
--- a/usr/klibc/arch/i386/syscall.S
+++ b/usr/klibc/arch/i386/syscall.S
@@ -37,7 +37,7 @@ __syscall_common:
#endif
.globl __syscall_common_tail
__syscall_common_tail:
- int $0x80
+ call *__syscall_entry
cmpl $-4095,%eax
@@ -66,3 +66,17 @@ __syscall_common_tail:
__syscall_...