4 ms·
>which although based on the Linux kernel, don't expose a POSIX userspace to regular app developers as public API No, Android apps can contain native code that
by garaetjjte 4y ago
>which although based on the Linux kernel, don't expose a POSIX userspace to regular app developers as public API
No, Android apps can contain native code that uses Linux syscalls.
- pjmlp 4y agoDo so at your own peril, they aren't part of the public API. "NDK C library" https://developer.android.com/ndk/guides/stable_apis#c_libra https://developer.android.com/ndk/guides/stable_apis#c_libra... "Improving Stability with Private C/C++ Symbol Restrictions in Android N" https://android-developers.googleblog.com/2016/06/improving-stability-with-private-cc.html https://android-developers.googleblog.com/2016/06/improving-... "Android changes for NDK developers" https://android-developers.googleblog.com/2016/06/android-changes-for-ndk-developers.html https://android-developers.googleblog.com/2016/06/android-ch... Termux developers also think they could do whatever they felt like on Android, guess what, they can't.