Re: [PATCH 01/24] Unionfs: Documentation

From: Trond Myklebust
Date: Tue Jan 09 2007 - 11:31:49 EST


On Tue, 2007-01-09 at 13:15 +0100, Jan Kara wrote:
> > On Mon, Jan 08, 2007 at 11:18:52AM -0800, Andrew Morton wrote:
> > > On Sun, 7 Jan 2007 23:12:53 -0500
> > > "Josef 'Jeff' Sipek" <jsipek@xxxxxxxxxxxxx> wrote:
> > >
> <snip>
>
> > > > Any such change can cause Unionfs to oops, or stay
> > > > silent and even RESULT IN DATA LOSS.
> > >
> > > With a rather rough user interface ;)
> >
> > That statement is meant to scare people away from modifying the lower fs :)
> > I tortured unionfs quite a bit, and it can oops but it takes some effort.
> But isn't it then potential DOS? If you happen to union two filesystems
> and an untrusted user has write access to both original filesystem and
> the union, then you say he'd be able to produce oops? That does not
> sound very secure to me... And if any secure use of unionfs requires
> limitting access to the original trees, then I think it's a good reason
> to implement it in unionfs itself. Just my 2 cents.

You mean somebody like, say, a perfectly innocent process working on the
NFS server or some other client that is oblivious to the existence of
unionfs stacks on your particular machine?
To me, this has always sounded like a showstopper for using unionfs with
a remote filesystem.

Trond

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