about summary refs log tree commit diff
path: root/src/process/x86_64/vfork.s
blob: 9114439031bebc9af6505ad4cefb385ac83002dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
.global vfork
.type vfork,@function
vfork:
	pop %rdx
	mov $58,%eax
	syscall
	push %rdx
	mov %rax,%rdi
	.hidden __syscall_ret
	jmp __syscall_ret