Re: [patch 00/13] vfs: add helpers to check r/o bind mounts

From: Miklos Szeredi
Date: Mon Apr 28 2008 - 06:16:21 EST


> > > > let alone removing the interface that doesn't require checks to be
> > > > vfsmount-based for all users.
> > >
> > > What users? There are paractically _no_ other users. The ones that
> > > there are (like reiserfs) should not be using them, and there are
> > > already some patches cleaning that mess up.
> >
> > OK, explain me, in small words, WTF should something that wants to do
> > operations on filesystem tree have a vfsmount. Slowly. And "r/o
> > bind loses value if it can be bypassed" is a hogwash - fs methods are
> > still there, so it *can* be bypassed just fine, thank you very much.
>
> And we know what to do with such users.

Which begs the question: why is ecryptfs doing that with the xattr
methods? Does it need to bypass the permission checks? Seems very
fishy to me.

Mike?

Miklos
--
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/