system/fstools.if: Add fstools_use_fds interface
This commit is contained in:
parent
0aa6f5b644
commit
d18b43bae7
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue