Add a pre-chroot hook

This hook can be used to perform some setup in the mount namespace,
prior to calling chroot(2)/pivot_root(2).

Bug: 65462041
Change-Id: If4399c3642d86a107de4849a328836e9fc0ccdbf
Test: hook is called in the appropriate place
2 files changed