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>
Chris PeBenito 30496b
##      Allow read and write access to tgtd semaphores.
Chris PeBenito 30496b
## </summary>
Chris PeBenito 30496b
## <param name="domain">
Chris PeBenito 30496b
##      <summary>
Chris PeBenito 30496b
##      Domain allowed access.
Chris PeBenito 30496b
##      </summary>
Chris PeBenito 30496b
## </param>
Chris PeBenito 30496b
#
Chris PeBenito 30496b
interface(`tgtd_rw_semaphores',`
Chris PeBenito 30496b
        gen_require(`
Chris PeBenito 30496b
                type tgtd_t;
Chris PeBenito 30496b
        ')
Chris PeBenito 30496b
Chris PeBenito 30496b
        allow $1 tgtd_t:sem rw_sem_perms;
Chris PeBenito 30496b
')
Miroslav Grepl 3b0a9c
Miroslav Grepl 3b0a9c
######################################
Miroslav Grepl 3b0a9c
## <summary>
Miroslav Grepl 3b0a9c
##      Manage tgtd sempaphores.
Miroslav Grepl 3b0a9c
## </summary>
Miroslav Grepl 3b0a9c
## <param name="domain">
Miroslav Grepl 3b0a9c
##      <summary>
Miroslav Grepl 3b0a9c
##      Domain allowed access.
Miroslav Grepl 3b0a9c
##      </summary>
Miroslav Grepl 3b0a9c
## </param>
Miroslav Grepl 3b0a9c
#
Miroslav Grepl 3b0a9c
interface(`tgtd_manage_semaphores',`
Miroslav Grepl 3b0a9c
        gen_require(`
Miroslav Grepl 3b0a9c
                type tgtd_t;
Miroslav Grepl 3b0a9c
        ')
Miroslav Grepl 3b0a9c
Miroslav Grepl 3b0a9c
        allow $1 tgtd_t:sem create_sem_perms;
Miroslav Grepl 3b0a9c
')