From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joel Becker Subject: Re: New reflink(2) syscall Date: Tue, 5 May 2009 10:13:31 -0700 Message-ID: <20090505171331.GG7835@mail.oracle.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> <1241542618.7244.76.camel@think.oraclecorp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Theodore Tso , Stephen Smalley , James Morris , lsm , linux-fsdevel@vger.kernel.org To: Chris Mason Return-path: Received: from rcsinet11.oracle.com ([148.87.113.123]:21376 "EHLO rgminet11.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754576AbZEEROX (ORCPT ); Tue, 5 May 2009 13:14:23 -0400 Content-Disposition: inline In-Reply-To: <1241542618.7244.76.camel@think.oraclecorp.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, May 05, 2009 at 12:56:58PM -0400, Chris Mason wrote: > On Tue, 2009-05-05 at 09:47 -0700, Joel Becker wrote: > > 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. In ZFS/btrfs/WAFL/disk array snaps, if you go back to a snap does the selinux context or acls or equivalent appear different? I don't think so, and I expect people would be really upset if they had to know all the restorecon/acl-fu to get it right. Joel -- "Under capitalism, man exploits man. Under Communism, it's just the opposite." - John Kenneth Galbraith Joel Becker Principal Software Developer Oracle E-mail: joel.becker@oracle.com Phone: (650) 506-8127