selinux-policy/policy/modules/services/tgtd.if

47 lines
971 B
Plaintext
Raw Normal View History

## <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>
2010-03-09 20:17:16 +00:00
#####################################
## <summary>
## Allow read and write access to tgtd semaphores.
2010-03-09 20:17:16 +00:00
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
2010-03-09 20:17:16 +00:00
## </param>
#
interface(`tgtd_rw_semaphores',`
gen_require(`
type tgtd_t;
')
2010-03-09 20:17:16 +00:00
allow $1 tgtd_t:sem rw_sem_perms;
2010-03-09 20:17:16 +00:00
')
2010-09-15 14:50:07 +00:00
######################################
## <summary>
## Manage tgtd sempaphores.
2010-09-15 14:50:07 +00:00
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
2010-09-15 14:50:07 +00:00
## </param>
#
interface(`tgtd_manage_semaphores',`
gen_require(`
type tgtd_t;
')
2010-09-15 14:50:07 +00:00
allow $1 tgtd_t:sem create_sem_perms;
2010-09-15 14:50:07 +00:00
')