From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Mason Subject: Re: New reflink(2) syscall Date: Tue, 05 May 2009 12:56:58 -0400 Message-ID: <1241542618.7244.76.camel@think.oraclecorp.com> References: <1241443016.3023.51.camel@localhost.localdomain> <20090504163514.GB31249@mail.oracle.com> <1241458669.3023.203.camel@localhost.localdomain> <20090504180855.GE31249@mail.oracle.com> <1241465446.3023.228.camel@localhost.localdomain> <20090504210356.GA25313@mail.oracle.com> <20090504231334.GA17486@mit.edu> <20090505164700.GB7835@mail.oracle.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Theodore Tso , Stephen Smalley , James Morris , lsm , linux-fsdevel@vger.kernel.org To: Joel Becker Return-path: Received: from acsinet12.oracle.com ([141.146.126.234]:47367 "EHLO acsinet12.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753230AbZEEQ5h (ORCPT ); Tue, 5 May 2009 12:57:37 -0400 In-Reply-To: <20090505164700.GB7835@mail.oracle.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, 2009-05-05 at 09:47 -0700, Joel Becker wrote: > On Mon, May 04, 2009 at 07:13:34PM -0400, Theodore Tso wrote: > > On Mon, May 04, 2009 at 02:03:56PM -0700, Joel Becker wrote: > > > Yeah, the more I think about it the more I agree. It's a simple > > > story - you're creating a file with ownership !you, you need > > > owner_or_cap. > > > > Stupid question --- why not create the file with ownership == you? > > It's a new inode, so this should be trivially easy to do, right? > > Because then you have to change the entire security structure, > and you aren't a snapshot anymore. I won't argue with the security part, but the snapshot part could just as easily be defined by the data and not the inode. -chris