bug-hurd
[Top][All Lists]
Advanced

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

breaking out of a chroot


From: Neal H. Walfield
Subject: breaking out of a chroot
Date: Mon, 16 May 2005 17:58:25 +0100
User-agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI)

Breaking out of a chroot on the Hurd is trivial: just use a passive
translator.  A passive translator will inherit the namespace of the
file system which started it, not the process which set it.  Thus, a
chroot'ed user need only run:

  settrans -c root /hurd/firmlink /

Neighbor Hurds won't suffer from this problem.

I don't have any ideas offhand of how this could be fixed.

Thanks,
Neal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]