From a10fefcd3943bf55d623663f72a3b1ee820b6458 Mon Sep 17 00:00:00 2001 From: Luis Ressel Date: Sat, 15 Feb 2014 13:07:45 +0100 Subject: [PATCH] Label fatsort as fsadm_exec_t. 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 4b5327f27..f27eb4274 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 5aff100e7..653d0b9f1 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) ######################################## #