aarch64: syscalls: clone: fix arg order

The clone syscal on aarch64 is the following:

```
SYS_clone, flags, stack, ptid, tls, ctid
x8,        x0,    x1,    x2,   x3,  x4
```

which is a different order than listed on the man page. Fix the ordering
in the aarch64 syscall dispatch code.
This commit is contained in:
Matthew Leach
2025-12-21 20:49:50 +00:00
parent 049657d8b0
commit de82e3d680

View File

@@ -256,8 +256,8 @@ pub async fn handle_syscall() {
arg1 as _,
UA::from_value(arg2 as _),
UA::from_value(arg3 as _),
UA::from_value(arg4 as _),
arg5 as _,
UA::from_value(arg5 as _),
arg4 as _,
)
.await
}