3 ms·
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, withou
by heavyset_go 4y ago
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.
- Rufbdbskrufb473 4y agoI could be wrong, but I believe they were using a modified chroot with some preload libraries to intercept missing kernel calls.
- kortriephfhe 4y agoIIRC 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.
- kortriephfhe 4y agoIIRC 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.