Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753901AbZLAI4h (ORCPT ); Tue, 1 Dec 2009 03:56:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753453AbZLAI4g (ORCPT ); Tue, 1 Dec 2009 03:56:36 -0500 Received: from mail-fx0-f213.google.com ([209.85.220.213]:52709 "EHLO mail-fx0-f213.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752947AbZLAI4f (ORCPT ); Tue, 1 Dec 2009 03:56:35 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=pTYAT+ixvnoh99iW04KH+OqPlQOKy6q0krR2/C7ab8gXU+9vQkXadHHkyw+JkMdsz7 RJcj7qYPKh7JucZsactmPUK8HFuEoCbcC0Q6hN+4iT2ntO+8H47cBpTQ5YY5bY8NoXa2 AhdhBPMu+4emuBR4fXyGrzG++S4Mb6L23mzEo= MIME-Version: 1.0 In-Reply-To: <20091130190030.GA5560@shareable.org> References: <20091123173616.75c3f600@tlielax.poochiereds.net> <20091123181545.05ad004d@tlielax.poochiereds.net> <20091123193426.55f1530a@tlielax.poochiereds.net> <20091124012027.GA14645@shareable.org> <20091124062621.744beddb@tlielax.poochiereds.net> <20091124120906.GA1700@ucw.cz> <20091130190030.GA5560@shareable.org> Date: Tue, 1 Dec 2009 08:56:40 +0000 X-Google-Sender-Auth: 36f8b96a27684b8a Message-ID: Subject: Re: [PATCH 0/3] vfs: plug some holes involving LAST_BIND symlinks and file bind mounts (try #5) From: Duane Griffin To: Jamie Lokier 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 Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1336 Lines: 36 2009/11/30 Jamie Lokier : > 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? Yep, I basically followed Pavel's recipe and got the same result. On the other hand, it didn't work on AIX. > -- Jamie Cheers, Duane. -- "I never could learn to drink that blood and call it wine" - Bob Dylan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/