From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: Re: [PATCH 11/14] CacheFiles: Permit an inode's security ID to be obtained [try #2] Date: Thu, 09 Aug 2007 19:06:55 +0100 Message-ID: <20932.1186682815@redhat.com> References: <162335.27499.qm@web36605.mail.mud.yahoo.com> Reply-To: Linux filesystem caching discussion list Cc: akpm@osdl.org, linux-kernel@vger.kernel.org, nfsv4@linux-nfs.org, trond.myklebust@fys.uio.no, torvalds@osdl.org, linux-cachefs@redhat.com, selinux@tycho.nsa.gov, linux-fsdevel@vger.kernel.org To: casey@schaufler-ca.com Return-path: In-Reply-To: <162335.27499.qm@web36605.mail.mud.yahoo.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-cachefs-bounces@redhat.com Errors-To: linux-cachefs-bounces@redhat.com List-Id: linux-fsdevel.vger.kernel.org Casey Schaufler wrote: > This is SELinux specific functionality. It should not be an LSM > interface. This is what I worked out in conjunction with the denizens of the SELinux mailing list. What would you have me do differently? Change things like: u32 (*act_as_secid)(u32 secid); to something like: void (*act_as_secid)(const char *newsecdata, u32 newseclen, char *oldsecdata, u32 *oldseclen); David