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

>Because an unpriveleged user has very limited access to the filesystem, the entire root filesystem is located somewhere under the Android app's preferences directory. From a Linux perspective this makes no sense, but is necessary. Most Linux utilities — even simple ones — expect a conventional file layout, with directories '/etc', '/usr', etc. This is impossible in this application, and most of the Linux utilities that have been ported to KBOX have required some reworking to account for the unconventional file layout. For the most part, however, the file layout is not particularly visible to the user.

Wouldn't it be possible to use the preloader to fake the root directory. I know that calling chroot itself requires root level permision, but fakechroot [1] uses the preloader to allow non root to use chroot.

[1] https://github.com/fakechroot/fakechroot/wiki

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact