Label fatsort as fsadm_exec_t.
PATCH 1/1 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(-)
policy/modules/system/fstools.fc +1 -0
@@ -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)
policy/modules/system/fstools.te +1 -1
@@ -1,4 +1,4 @@ -policy_module(fstools, 1.16.5) +policy_module(fstools, 1.16.6) ######################################## #
Signature · 1 line
1.8.5.4
PATCH 1/1 Label fatsort as fsadm_exec_t.
Quoted 13 lines · Luis Ressel
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(-)policy/modules/system/fstools.fc +0
-0
policy/modules/system/fstools.fc line 54
Quoted 6 lines
policy/modules/system/fstools.fc +1
-0@@ -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)
Merged.
Quoted 11 lines
policy/modules/system/fstools.te +1
-1@@ -1,4 +1,4 @@ -policy_module(fstools, 1.16.5) +policy_module(fstools, 1.16.6) ######################################## #
Signature · 3 lines
Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com