Matthew Ife 0bca40
## <summary>Linux Target Framework Daemon.</summary>
Matthew Ife 0bca40
## <desc>
Chris PeBenito 222d5b
##	

Chris PeBenito 222d5b
##	Linux target framework (tgt) aims to simplify various
Chris PeBenito 222d5b
##	SCSI target driver (iSCSI, Fibre Channel, SRP, etc) creation
Chris PeBenito 222d5b
##	and maintenance. Our key goals are the clean integration into
Chris PeBenito 222d5b
##	the scsi-mid layer and implementing a great portion of tgt
Matthew Ife 0bca40
##	in user space.
Chris PeBenito 222d5b
##	

Matthew Ife 0bca40
## </desc>
Matthew Ife 0bca40
Chris PeBenito 30496b
#####################################
Chris PeBenito 30496b
## <summary>
Dominick Grift dcf874
##	Allow read and write access to tgtd semaphores.
Chris PeBenito 30496b
## </summary>
Chris PeBenito 30496b
## <param name="domain">
Dominick Grift dcf874
##	<summary>
Dominick Grift dcf874
##	Domain allowed access.
Dominick Grift dcf874
##	</summary>
Chris PeBenito 30496b
## </param>
Chris PeBenito 30496b
#
Chris PeBenito 30496b
interface(`tgtd_rw_semaphores',`
Dominick Grift dcf874
	gen_require(`
Dominick Grift dcf874
		type tgtd_t;
Dominick Grift dcf874
	')
Chris PeBenito 30496b
Dominick Grift dcf874
	allow $1 tgtd_t:sem rw_sem_perms;
Chris PeBenito 30496b
')
Miroslav Grepl 3b0a9c
Miroslav Grepl 3b0a9c
######################################
Miroslav Grepl 3b0a9c
## <summary>
Dominick Grift dcf874
##	Manage tgtd sempaphores.
Miroslav Grepl 3b0a9c
## </summary>
Miroslav Grepl 3b0a9c
## <param name="domain">
Dominick Grift dcf874
##	<summary>
Dominick Grift dcf874
##	Domain allowed access.
Dominick Grift dcf874
##	</summary>
Miroslav Grepl 3b0a9c
## </param>
Miroslav Grepl 3b0a9c
#
Miroslav Grepl 3b0a9c
interface(`tgtd_manage_semaphores',`
Dominick Grift dcf874
	gen_require(`
Dominick Grift dcf874
		type tgtd_t;
Dominick Grift dcf874
	')
Miroslav Grepl 3b0a9c
Dominick Grift dcf874
	allow $1 tgtd_t:sem create_sem_perms;
Miroslav Grepl 3b0a9c
')