Re: [patch] unprivileged mounts update

From: Andrew Morton
Date: Wed Apr 25 2007 - 15:35:39 EST


On Wed, 25 Apr 2007 17:18:12 +0200 Miklos Szeredi <miklos@xxxxxxxxxx> wrote:

> > From: Miklos Szeredi <mszeredi@xxxxxxx>
> >
> > - refine adding "nosuid" and "nodev" flags for unprivileged mounts:
> > o add "nosuid", only if mounter doesn't have CAP_SETUID capability
> > o add "nodev", only if mounter doesn't have CAP_MKNOD capability
> >
> > - allow unprivileged forced unmount, but only for FS_SAFE filesystems
> >
> > - allow mounting over special files, but not symlinks
> >
> > - for mounting and umounting check "fsuid" instead of "ruid"
>
> Andrew, please skip this patch, for now.

I'll be dropping all the unprivileged-mounts stuff - it looks like it
was a bit early, and that a new patch series against 2.6.27-rc1 or thereabouts
would be best.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/