I went looking through Linux source code, being curious. Then I noticed this:
Linux has also been ported to itself. You can now run the kernel as a userspace application - this is called UserMode Linux (UML)
Mind = blown. Is this what I was doing when I installed Ubuntu minimal install in my Android phone and access it through chroot in terminal emulator?