[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080424144815.GI15214@ZenIV.linux.org.uk>
Date: Thu, 24 Apr 2008 15:48:15 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: Miklos Szeredi <miklos@...redi.hu>
Cc: akpm@...ux-foundation.org, torvalds@...ux-foundation.org,
dave@...ux.vnet.ibm.com, ezk@...sunysb.edu, mhalcrow@...ibm.com,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [patch 00/13] vfs: add helpers to check r/o bind mounts
On Thu, Apr 24, 2008 at 04:42:52PM +0200, Miklos Szeredi wrote:
> > You are right - we do have races there. Always had.
> > And nfsd_permission() is the next target for continuation of ro-bind
> > series. Assuming that we don't simply make r/w export to hold will_write
> > all along, in which case all these checks around calls of vfs_...() in
> > there simply go away - that's also an arguable option.
>
> Yes. And that _still_ doesn't make the path_*() interface wrong.
It would make it bloody useless for nfsd. With ecryptfs being a piss-poor
argument in favour of anything other than git rm, what's left? Another
stack frame in fs/namei.c syscalls?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists