rootfs-handoff: Milestone C - integrate pivot_root in early /init
- Added full pivot_root implementation to initrd_init.c
- Added mkdir_p() for recursive directory creation
- Added mount_virtual_fs() to mount virtual filesystems
- Added move_mount() to move mounts using MS_MOVE flag
- Early /init now moves /dev, /proc, /tmp to /newroot
- Performs pivot_root to make /newroot the new root
- Unmounts old root after pivot
- Executes /sbin/init from the new root
- Added MS_MOVE definition (not in ulibc)
- Fixed includes to use ulibc headers (syscall.h instead of sys/syscall.h)
- Used pivot_root() wrapper from ulibc instead of raw syscall
Test Results:
- Smoke test: 131/131 PASS
- Battery test: 157/157 PASS
- Analyzer: PASS
- Zero regressions