mirror of
https://github.com/hexagonal-sun/moss-kernel.git
synced 2025-12-23 22:47:55 -05:00
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:
@@ -256,8 +256,8 @@ pub async fn handle_syscall() {
|
|||||||
arg1 as _,
|
arg1 as _,
|
||||||
UA::from_value(arg2 as _),
|
UA::from_value(arg2 as _),
|
||||||
UA::from_value(arg3 as _),
|
UA::from_value(arg3 as _),
|
||||||
UA::from_value(arg4 as _),
|
UA::from_value(arg5 as _),
|
||||||
arg5 as _,
|
arg4 as _,
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user