Move portage_dontaudit_use_fds() interface.
This commit is contained in:
parent
8dc4e0f223
commit
7b4defd475
|
@ -256,6 +256,25 @@ interface(`portage_run_gcc_config',`
|
||||||
role $2 types gcc_config_t;
|
role $2 types gcc_config_t;
|
||||||
')
|
')
|
||||||
|
|
||||||
|
########################################
|
||||||
|
## <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;
|
||||||
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
## <summary>
|
## <summary>
|
||||||
## Do not audit attempts to search the
|
## Do not audit attempts to search the
|
||||||
|
@ -293,22 +312,3 @@ interface(`portage_dontaudit_rw_tmp_files',`
|
||||||
|
|
||||||
dontaudit $1 portage_tmp_t:file rw_file_perms;
|
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