fix linux_arm64

- SYS_fork doesn't exist, uses SYS_clone
- properly cast AT_FDCWD to uintptr
This commit is contained in:
Sébastien Marie
2022-03-12 09:19:52 +00:00
parent e6d3e893a5
commit 8982ae34e3
2 changed files with 17 additions and 11 deletions
+2
View File
@@ -675,6 +675,8 @@ when ODIN_ARCH == .amd64 {
SYS_landlock_create_ruleset : uintptr : 444
SYS_landlock_add_rule : uintptr : 445
SYS_landlock_restrict_self : uintptr : 446
SIGCHLD :: 17
} else when ODIN_ARCH == .i386 {
SYS_restart_syscall : uintptr : 0
SYS_exit : uintptr : 1