commit:     1569a84673e5a6ea4280940f1da9ef99bfd96e8a
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Sat Jul 11 14:10:08 2015 +0000
Commit:     Sven Vermeulen <swift <AT> gentoo <DOT> org>
CommitDate: Sat Jul 11 14:10:08 2015 +0000
URL:        
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=1569a846

Enable Ceph as a valid SELinux-enabled file system

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

diff --git a/policy/modules/kernel/filesystem.te 
b/policy/modules/kernel/filesystem.te
index 32ecb93..706f4d9 100644
--- a/policy/modules/kernel/filesystem.te
+++ b/policy/modules/kernel/filesystem.te
@@ -308,6 +308,7 @@ allow filesystem_unconfined_type filesystem_type:filesystem 
*;
 allow filesystem_unconfined_type filesystem_type:{ dir file lnk_file sock_file 
fifo_file chr_file blk_file } *;
 
 ifdef(`distro_gentoo',`
+       fs_use_xattr ceph gen_context(system_u:object_r:fs_t,s0);
        # Fix bug 535986 - Mark configfs_t as file type (and mountpoint 
probably as well)
        files_mountpoint(configfs_t)
 ')

Reply via email to