import vanilla x86_64 code as x32

This commit is contained in:
rofl0r 2014-01-07 22:43:34 +01:00
commit 323272db17
75 changed files with 2677 additions and 0 deletions

12
src/process/x32/vfork.s Normal file
View file

@ -0,0 +1,12 @@
.global __vfork
.weak vfork
.type __vfork,@function
.type vfork,@function
__vfork:
vfork:
pop %rdx
mov $58,%eax
syscall
push %rdx
mov %rax,%rdi
jmp __syscall_ret