Fix arm64 linuxulator clone() argument order
Linux/arm64 is CLONE_BACKWARDS - i.e., "Architecture has tls passed as the 4th argument of clone(2), not the 5th one." The linux clone() syscall has four different permutations of argument order, depending on architecture - see the #ifdef CONFIG_CLONE_BACKWARDS maze in Linux's kernel/fork.c. Sponsored by: Turing Robotic Industries
This commit is contained in:
parent
4d96a1b772
commit
8b159f50a0
@ -403,8 +403,8 @@
|
||||
218 AUE_NULL STD { int linux_request_key(void); }
|
||||
219 AUE_NULL STD { int linux_keyctl(void); }
|
||||
220 AUE_RFORK STD { int linux_clone(l_int flags, void *stack, \
|
||||
void *parent_tidptr, void *child_tidptr, \
|
||||
void *tls); }
|
||||
void *parent_tidptr, void *tls, \
|
||||
void *child_tidptr); }
|
||||
221 AUE_EXECVE STD { int linux_execve(char *path, char **argp, \
|
||||
char **envp); }
|
||||
222 AUE_MMAP STD { int linux_mmap2(l_ulong addr, l_ulong len, \
|
||||
|
Loading…
x
Reference in New Issue
Block a user