summaryrefslogblamecommitdiff
path: root/src/process/x32/vfork.s
blob: 1039f0f2f109df1c7090512c80b26d3e5e33ec8c (plain) (tree)
1
2
3
4
5
6
7
8






                       
                                            



                         
.global __vfork
.weak vfork
.type __vfork,@function
.type vfork,@function
__vfork:
vfork:
	pop %rdx
	mov $0x4000003a,%eax /* SYS_vfork */
	syscall
	push %rdx
	mov %rax,%rdi
	jmp __syscall_ret