Add interface clamav_run
Signed-off-by: Dave Sugar <dsugar@tresys.com>
This commit is contained in:
parent
7d93336024
commit
53ea0b2288
|
@ -19,6 +19,32 @@ interface(`clamav_domtrans',`
|
|||
domtrans_pattern($1, clamd_exec_t, clamd_t)
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Execute clamd programs in the clamd
|
||||
## domain and allow the specified role
|
||||
## the clamd domain.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain allowed to transition.
|
||||
## </summary>
|
||||
## </param>
|
||||
## <param name="role">
|
||||
## <summary>
|
||||
## Role allowed access.
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`clamav_run',`
|
||||
gen_require(`
|
||||
type clamd_t;
|
||||
')
|
||||
|
||||
clamav_domtrans($1)
|
||||
role $2 types clamd_t;
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Connect to clamd using a unix
|
||||
|
|
Loading…
Reference in New Issue