SYSCALL_INLINE in Android
问题 I need to use syscall internally in Android NDK to prevent hooking of the wrapper functions. In Linux there are macros like SYSCALL_INLINE which allows using syscall without wrapper function. Thus the macro embeds the syscall assembly code into the project directly. I could not find similar macro in Android NDK. Maybe I can write my own functions like this one; https://git.busybox.net/uClibc/tree/libc/sysdeps/linux/arm/syscall.c But I need to have arm, arm_64, x86 and x86_64 versions of the