From: Casey Schaufler Subject: Re: [PATCH 00/16] Permit filesystem local caching [try #3] Date: Tue, 14 Aug 2007 08:53:39 -0700 (PDT) Message-ID: <861956.50630.qm@web36613.mail.mud.yahoo.com> References: <1079.1187084397@redhat.com> Reply-To: casey@schaufler-ca.com Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Cc: dhowells@redhat.com, Stephen Smalley , torvalds@osdl.org, akpm@osdl.org, steved@redhat.com, trond.myklebust@fys.uio.no, linux-fsdevel@vger.kernel.org, linux-cachefs@redhat.com, nfsv4@linux-nfs.org, linux-kernel@vger.kernel.org, selinux@tycho.nsa.gov, LSM List To: David Howells , casey@schaufler-ca.com Return-path: Received: from web36613.mail.mud.yahoo.com ([209.191.85.30]:43555 "HELO web36613.mail.mud.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1757419AbXHNPxl (ORCPT ); Tue, 14 Aug 2007 11:53:41 -0400 In-Reply-To: <1079.1187084397@redhat.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org --- David Howells wrote: > Casey Schaufler wrote: > > > With Smack you can leave the label alone, raise CAP_MAC_OVERRIDE, > > do your business of setting the label correctly, and then drop > > the capability. No new hooks required. > > That sounds like a contradiction. How can you both leave it alone and set > it? Whoops, sorry. You leave the process label alone and explicitly set the file label using the xattr interfaces. Casey Schaufler casey@schaufler-ca.com