system/fstools.if: Add fstools_use_fds interface

This commit is contained in:
Luis Ressel 2014-08-11 15:33:17 +02:00 committed by Chris PeBenito
parent 0aa6f5b644
commit d18b43bae7
1 changed files with 18 additions and 0 deletions

View File

@ -81,6 +81,24 @@ interface(`fstools_signal',`
allow $1 fsadm_t:process signal; allow $1 fsadm_t:process signal;
') ')
########################################
## <summary>
## Inherit fstools file descriptors.
## </summary>
## <param name="domain">
## <summary>
## The type of the process performing this action.
## </summary>
## </param>
#
interface(`fstools_use_fds',`
gen_require(`
type fsadm_t;
')
allow $1 fsadm_t:fd use;
')
######################################## ########################################
## <summary> ## <summary>
## Read fstools unnamed pipes. ## Read fstools unnamed pipes.