Re: [PATCH] User chroot

Jorgen Cederlof (jc@lysator.liu.se)
Fri, 29 Jun 2001 15:46:07 +0200


On Wed, Jun 27, 2001 at 11:14:13 -0700, "H. Peter Anvin" wrote:
> > > If we only allow user chroots for processes that have never been
> > > chrooted before, and if the suid/sgid bits won't have any effect under
> > > the new root, it should be perfectly safe to allow any user to chroot.
> >
> > Hmm. Dos this work with initrd and root pivoting?
>
> At the moment, yes. Once Viro gets his root-changes in, this breaks,
> since ALL processes will be chrooted.

What are those changes, and how will they break user chroots?

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