summaryrefslogblamecommitdiff
path: root/src/process/x86_64/vfork.s
blob: 27af46f5d66eecc0d15999527436f873f5f7b898 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
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