From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Moore Subject: Re: [RFC][PATCH 6/9] gen_initramfs_list.sh: include xattrs Date: Wed, 14 Jan 2015 14:36:46 -0500 Message-ID: <1584934.WkKQGAFadF@sifl> References: <1420663980-20842-1-git-send-email-zohar@linux.vnet.ibm.com> <54B5913C.5050109@landley.net> <1421205803.2119.110.camel@dhcp-9-2-203-236.watson.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <1421205803.2119.110.camel@dhcp-9-2-203-236.watson.ibm.com> Sender: linux-security-module-owner@vger.kernel.org List-ID: To: Mimi Zohar Cc: Rob Landley , Josh Boyer , initramfs , Al Viro , linux-ima-devel@lists.sourceforge.net, linux-security-module , linux-kernel , Fionnuala Gunter , "casey.schaufler" , selinux@tycho.nsa.gov On Tuesday, January 13, 2015 10:23:23 PM Mimi Zohar wrote: > I would assume only 'security.evm' is not portable as it attempts to > tightly bind the file metadata to the file data. Casey? Paul? [NOTE: Added the SELinux mailing list to the CC line.] The SELinux xattr should be portable assuming the security label's semantics remain constant across the different security policies. If the label is completely unknown SELinux should handle it correctly, it will be treated as unlabeled until a module is loaded which defines the label. Although, this is just for initramfs, yes? If so, I'm not sure this matters that much from a practical point of view; Stephen or someone else from the SELinux list may have some thoughts on this. -- paul moore security @ redhat