Skip to contentSkip to conversation

btrfs enablement

PATCH New Paul Moore 1 participant 2 messages Nov 24, 2008 – Nov 25, 2008

lore
Share & tools
lore
author
#1 lore raw

PATCH 1/1 btrfs enablement

Quoted 2 lines · Paul Moore

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.

Quoted 17 lines
---
 policy/modules/kernel/filesystem.te |    1 +
 1 file changed, 1 insertion(+)

Index: refpolicy_svn_repo/policy/modules/kernel/filesystem.te
===================================================================

policy/modules/kernel/filesystem.te +1 -0
@@ -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.

Signature · 2 lines
paul moore
linux @ hp