[Linux-cachefs] Re: [PATCH 11/14] CacheFiles: Permit an inode's security ID to be obtained [try #2]

David Howells dhowells at redhat.com
Thu Aug 9 18:06:55 UTC 2007


Casey Schaufler <casey at schaufler-ca.com> 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




More information about the Linux-cachefs mailing list