From fb1e5070aae43002eadb73aba590b3b93e2e6650 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Sun, 20 Feb 2022 21:11:24 -0800 Subject: [PATCH] Fix comment pointing at vfork.S Looks like this comment was slightly out of date due to some file renaming. --- libc/sysv/syscalls.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/sysv/syscalls.sh b/libc/sysv/syscalls.sh index 0b1b75675..5f8080189 100755 --- a/libc/sysv/syscalls.sh +++ b/libc/sysv/syscalls.sh @@ -92,7 +92,7 @@ scall __sys_socketpair 0x0870870872087035 globl hidden scall sys_setsockopt 0x0690690692069036 globl hidden scall sys_getsockopt 0x0760760762076037 globl hidden scall sys_fork 0x0020020022002039 globl hidden # xnu needs eax&=~-edx bc eax always holds pid and edx is 0 for parent and 1 for child -#scall vfork 0x042042042204203a globl # this syscall is from the moon so we implement it by hand in libc/calls/hefty/vfork.S +#scall vfork 0x042042042204203a globl # this syscall is from the moon so we implement it by hand in libc/runtime/vfork.S scall sys_posix_spawn 0xfffffffff20f4fff globl hidden # good luck figuring out how xnu defines this scall __sys_execve 0x03b03b03b203b03b globl hidden scall __sys_wait4 0x1c100b007200703d globl hidden