From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamie Lokier Subject: Re: [PATCH 0/3] vfs: plug some holes involving LAST_BIND symlinks and file bind mounts (try #5) Date: Mon, 30 Nov 2009 19:00:30 +0000 Message-ID: <20091130190030.GA5560@shareable.org> References: <20091123173616.75c3f600@tlielax.poochiereds.net> <20091123224948.GB5598@shareable.org> <20091123181545.05ad004d@tlielax.poochiereds.net> <20091123193426.55f1530a@tlielax.poochiereds.net> <20091124012027.GA14645@shareable.org> <20091124062621.744beddb@tlielax.poochiereds.net> <20091124120906.GA1700@ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Pavel Machek , Miklos Szeredi , Jeff Layton , ebiederm@xmission.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, viro@zeniv.linux.org.uk To: Duane Griffin Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Duane Griffin wrote: > 2009/11/24 Pavel Machek : > > On Tue 2009-11-24 12:53:09, Miklos Szeredi wrote: > >> I still believe leaving the current semantics and documenting them is > >> the best option. > > > > I believe that current semantics is ugly enough that 'documenting' it > > is not enough... and people want to port from other systems, too, not > > expecting nasty surprises like this... > > Solaris 10 works the same way as Linux does now, so I don't think the > porting argument gets you anywhere. It certainly must be similar, as gnulib uses the same technique on both Solaris and Linux. I don't have a Solaris to try this on. Can you use /proc to re-open with O_RDWR a file descriptor previously opened with O_RDONLY on Solaris 10, assuming the underlying inode allows writing? -- Jamie