Introduce portage_dontaudit_use_fds
Support the interface to not audit portage_t:fd use (file descriptors, leaked or not) Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
This commit is contained in:
parent
68bbbbdec6
commit
137f7366ee
|
@ -293,3 +293,22 @@ interface(`portage_dontaudit_rw_tmp_files',`
|
|||
|
||||
dontaudit $1 portage_tmp_t:file rw_file_perms;
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Do not audit attempts to use
|
||||
## portage file descriptors.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain to not audit.
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`portage_dontaudit_use_fds',`
|
||||
gen_require(`
|
||||
type portage_t;
|
||||
')
|
||||
|
||||
dontaudit $1 portage_t:fds use;
|
||||
')
|
||||
|
|
Loading…
Reference in New Issue