[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

--
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:

ftp://lrcftp.epfl.ch/pub/people/almesber/misc/umount-root-3.tar.gz

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 /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/

-
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: