We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afa47a4 commit 187fb89Copy full SHA for 187fb89
main.c
@@ -138,6 +138,7 @@ void ____asm_impl(void) {
138
".globl asm_syscall_hook \n\t"
139
"asm_syscall_hook: \n\t"
140
141
+#if defined(__linux__)
142
"cmp x8, #139 \n\t" /* rt_sigreturn */
143
"b.eq do_rt_sigreturn \n\t" /* bypass hook */
144
"cmp x8, #220 \n\t" /* clone */
@@ -179,6 +180,7 @@ void ____asm_impl(void) {
179
180
/* Copy x0-x30 to cl_args->stack + cl_args->stack_size */
181
SAVE_CONTEXT(x15)
182
"b do_syscall_hook \n\t"
183
+#endif /* defined(__linux__) */
184
185
"do_syscall_hook: \n\t"
186
0 commit comments