From: sven.vermeulen@siphos.be (Sven Vermeulen) Date: Sat, 22 Nov 2014 19:54:37 +0100 Subject: [refpolicy] [PATCH 4/7] Mark f2fs as a SELinux capable file system In-Reply-To: <1416682480-13282-1-git-send-email-sven.vermeulen@siphos.be> References: <1416682480-13282-1-git-send-email-sven.vermeulen@siphos.be> Message-ID: <1416682480-13282-5-git-send-email-sven.vermeulen@siphos.be> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com Since Linux kernel 3.11, F2FS supports XATTR and the security namespace. See commit https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8ae8f1627f39bae505b90cade50cd8a911b8bda6 --- 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 cf04fb7..fd1e7fe 100644 --- a/policy/modules/kernel/filesystem.te +++ b/policy/modules/kernel/filesystem.te @@ -27,6 +27,7 @@ fs_use_xattr ext2 gen_context(system_u:object_r:fs_t,s0); fs_use_xattr ext3 gen_context(system_u:object_r:fs_t,s0); fs_use_xattr ext4 gen_context(system_u:object_r:fs_t,s0); fs_use_xattr ext4dev gen_context(system_u:object_r:fs_t,s0); +fs_use_xattr f2fs gen_context(system_u:object_r:fs_t,s0); fs_use_xattr gfs gen_context(system_u:object_r:fs_t,s0); fs_use_xattr gfs2 gen_context(system_u:object_r:fs_t,s0); fs_use_xattr gpfs gen_context(system_u:object_r:fs_t,s0); -- 2.0.4