From: aranea@aixah.de (Luis Ressel) Date: Sat, 15 Feb 2014 13:07:45 +0100 Subject: [refpolicy] [PATCH] Label fatsort as fsadm_exec_t. Message-ID: <1392466065-8551-1-git-send-email-aranea@aixah.de> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com FATsort is an utility to sort directory entries on FAT partitions, see http://fatsort.sourceforge.net/ . It requires direct access to the block devices. --- policy/modules/system/fstools.fc | 1 + policy/modules/system/fstools.te | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/policy/modules/system/fstools.fc b/policy/modules/system/fstools.fc index 4b5327f..f27eb42 100644 --- a/policy/modules/system/fstools.fc +++ b/policy/modules/system/fstools.fc @@ -49,6 +49,7 @@ /usr/bin/syslinux -- gen_context(system_u:object_r:fsadm_exec_t,s0) /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/parted -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/smartctl -- gen_context(system_u:object_r:fsadm_exec_t,s0) diff --git a/policy/modules/system/fstools.te b/policy/modules/system/fstools.te index 5aff100..653d0b9 100644 --- a/policy/modules/system/fstools.te +++ b/policy/modules/system/fstools.te @@ -1,4 +1,4 @@ -policy_module(fstools, 1.16.5) +policy_module(fstools, 1.16.6) ######################################## # -- 1.8.5.4