[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

(fwd) umount-root-3

Yet another release of the chroot kernel patch...


Erik B. Andersen   Web:    http://www.xmission.com/~andersen/ 
                   email:  andersee@debian.org
--This message was written using 73% post-consumer electrons--
--- Begin Message ---
Yet another version of my patch for root-hopping, for pre-2.3.40-6:


This one I've tested with a real NFS root. There was one problem:
rpciod is created as a child of mount, so it doesn't share current->fs
with init, and therefore doesn't leave the original / on chroot. I've
fixed it by adding a call to exit_fs to linux/net/sunrpc/sched.c:rpciod
(rpciod doesn't use files anyway).

The NFS root example is described in the README.

- Werner

 / Werner Almesberger, ICA, EPFL, CH       werner.almesberger@ica.epfl.ch /

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

--- End Message ---

Reply to: