Hacker News new | past | comments | ask | show | jobs | submit login

I tried searching the UserLand repo for how they implemented this, are they running native Linux apps in a GNU userland, possibly with namespaces/chroot, without virtualization? Does it do what Termux does and recompile binaries against the NDK?

I've watched projects like this come and go for like 12 years now, and I've always thought that it's an interesting problem with interesting solutions.




IIRC they do complete proot-based distro instead of ndk-recompiles.

There's a termux equivalent package called proot-distro you can install, if you're fine with CLI.


I could be wrong, but I believe they were using a modified chroot with some preload libraries to intercept missing kernel calls.


IIRC it was `proot`, it's not a preload, but ptrace based.

preload based unprivileged chroot exists (libfakechroot), but doesn't work for static linked binaries.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: