logoalt Hacker News

jeroenhd • today at 8:37 AM • 1 reply • view on HN

It's still Linux, though, the same way Ubuntu is still Linux despite carrying custom patches and security frameworks.

Termux has to work around security restrictions in a way not dissimilar to how you would need to work around an extremely securely configured SELinux setup on RHEL.


Replies

pjmlp • today at 9:02 AM

Ubuntu is GNU/Linux, you don't run Afterstep on Android via NDK, unless you rewrite X Windows or Wayland to run on top of OpenGL ES or Vulkan surface that is then hosted inside a AndroidView or JetpackCompose display surface.

Which is what Termux has to do, just like they have to call into specific Android services via JNI, as the NDK only exposes official NDK APIs, alongside the C and C++ standard libraries.