]> git.ipfire.org Git - people/stevee/selinux-policy.git/commitdiff
squashfs supports extended attributes
authorDan Walsh <dwalsh@redhat.com>
Tue, 29 Nov 2011 20:02:37 +0000 (15:02 -0500)
committerDan Walsh <dwalsh@redhat.com>
Tue, 29 Nov 2011 20:02:37 +0000 (15:02 -0500)
policy/modules/kernel/filesystem.te

index 3c6e8271f3e7c9ed7e01138da50e2d7b7150bfd7..2cbb81d7d9c49161b38e27943a9905515d2de60d 100644 (file)
@@ -33,6 +33,7 @@ fs_use_xattr jffs2 gen_context(system_u:object_r:fs_t,s0);
 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_task squashfs 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.
@@ -146,11 +147,6 @@ fs_type(spufs_t)
 genfscon spufs / gen_context(system_u:object_r:spufs_t,s0)
 files_mountpoint(spufs_t)
 
-type squash_t;
-fs_type(squash_t)
-genfscon squash / gen_context(system_u:object_r:squash_t,s0)
-files_mountpoint(squash_t)
-
 type sysv_t;
 fs_noxattr_type(sysv_t)
 files_mountpoint(sysv_t)