From: paul.moore@hp.com (Paul Moore) Date: Tue, 25 Nov 2008 10:54:41 -0500 Subject: [refpolicy] [patch] btrfs enablement In-Reply-To: <20081124224004.AB8D039C007@ldl.fc.hp.com> References: <20081124224004.AB8D039C007@ldl.fc.hp.com> Message-ID: <200811251054.41183.paul.moore@hp.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On Monday 24 November 2008 5:40:03 pm Paul Moore wrote: > Jim Owens discovered that we don't currently make use of the xattr > support in btrfs; the following patch fixes that. It looks like I may have been a bit hasty on this policy patch as btrfs still needs some work to play nicely with SELinux. Please do not apply this patch just yet. > --- > policy/modules/kernel/filesystem.te | 1 + > 1 file changed, 1 insertion(+) > > Index: refpolicy_svn_repo/policy/modules/kernel/filesystem.te > =================================================================== > --- refpolicy_svn_repo.orig/policy/modules/kernel/filesystem.te > +++ refpolicy_svn_repo/policy/modules/kernel/filesystem.te > @@ -33,6 +33,7 @@ fs_use_xattr jffs2 gen_context(system_u: > fs_use_xattr jfs gen_context(system_u:object_r:fs_t,s0); > fs_use_xattr lustre gen_context(system_u:object_r:fs_t,s0); > fs_use_xattr xfs gen_context(system_u:object_r:fs_t,s0); > +fs_use_xattr btrfs gen_context(system_u:object_r:fs_t,s0); > > # Use the allocating task SID to label inodes in the following > filesystem # types, and label the filesystem itself with the > specified context. -- paul moore linux @ hp