commit:     5248f963330c4a11ac1d737aec13afa52c5abb9f
Author:     Luis Ressel <aranea <AT> aixah <DOT> de>
AuthorDate: Mon Aug 11 12:31:32 2014 +0000
Commit:     Sven Vermeulen <swift <AT> gentoo <DOT> org>
CommitDate: Fri Aug 15 09:57:55 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=5248f963

Some of the fsadm tools can also be in /usr/sbin instead of /sbin

Signed-off-by: Luis Ressel <aranea <AT> aixah.de>

---
 policy/modules/system/fstools.fc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/policy/modules/system/fstools.fc b/policy/modules/system/fstools.fc
index 213ceb2..bd4066e 100644
--- a/policy/modules/system/fstools.fc
+++ b/policy/modules/system/fstools.fc
@@ -50,7 +50,11 @@
 
 /usr/sbin/clubufflush  --      gen_context(system_u:object_r:fsadm_exec_t,s0)
 /usr/sbin/fatsort      --      gen_context(system_u:object_r:fsadm_exec_t,s0)
+/usr/sbin/fsck.*       --      gen_context(system_u:object_r:fsadm_exec_t,s0)
+/usr/sbin/mkfs.*       --      gen_context(system_u:object_r:fsadm_exec_t,s0)
 /usr/sbin/parted       --      gen_context(system_u:object_r:fsadm_exec_t,s0)
+/usr/sbin/partprobe    --      gen_context(system_u:object_r:fsadm_exec_t,s0)
+/usr/sbin/partx                --      
gen_context(system_u:object_r:fsadm_exec_t,s0)
 /usr/sbin/smartctl     --      gen_context(system_u:object_r:fsadm_exec_t,s0)
 
 /var/log/fsck(/.*)?            gen_context(system_u:object_r:fsadm_log_t,s0)

Reply via email to