Added tgtd selinux policy. tgtd is used for iscsi targets at the moment but will eventually be used for other technologies like Fibre Channel and FCoE. Signed-off-by: Matthew Ife <[email protected]>
PATCH 1/1 Added tgtd selinux policy. tgtd is used for iscsi targets at the moment but will eventually be used for other technologies like Fibre Channel and FCoE. Signed-off-by: Matthew Ife <[email protected]>
---
:000000 100644 0000000... 5812689... A policy/modules/services/tgtd.fc
:000000 100644 0000000... d497936... A policy/modules/services/tgtd.if
:000000 100644 0000000... f96f14d... A policy/modules/services/tgtd.te
policy/modules/services/tgtd.fc | 3 ++ policy/modules/services/tgtd.if | 11 ++++++ policy/modules/services/tgtd.te | 72 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 86 insertions(+), 0 deletions(-)
policy/modules/services/tgtd.fc new file +3 -0
@@ -0,0 +1,3 @@ +/etc/rc\.d/init\.d/tgtd -- gen_context(system_u:object_r:tgtd_initrc_exec_t, s0) +/usr/sbin/tgtd -- gen_context(system_u:object_r:tgtd_exec_t, s0) +/var/lib/tgtd(/.*)? gen_context(system_u:object_r:tgtd_var_lib_t, s0)
policy/modules/services/tgtd.if new file +11 -0
@@ -0,0 +1,11 @@ +## <summary>Linux Target Framework Daemon.</summary> +## <desc> +## <p> +## Linux target framework (tgt) aims to simplify various +## SCSI target driver (iSCSI, Fibre Channel, SRP, etc) creation +## and maintenance. Our key goals are the clean integration into +## the scsi-mid layer and implementing a great portion of tgt +## in user space. +## </p> +## </desc> +
policy/modules/services/tgtd.te new file +72 -0
72 lines not on this page · raw message
Signature · 1 line
1.6.2.5