Dontaudit socket leaks when running semanage code
This commit is contained in:
parent
73f7d4f4a2
commit
8c8a10fcbe
@ -85,6 +85,10 @@ interface(`seutil_domtrans_loadpolicy',`
|
|||||||
|
|
||||||
corecmd_search_bin($1)
|
corecmd_search_bin($1)
|
||||||
domtrans_pattern($1, load_policy_exec_t, load_policy_t)
|
domtrans_pattern($1, load_policy_exec_t, load_policy_t)
|
||||||
|
|
||||||
|
ifdef(`hide_broken_symptoms', `
|
||||||
|
dontaudit load_policy_t $1:socket_class_set { read write };
|
||||||
|
')
|
||||||
')
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
@ -537,7 +541,7 @@ interface(`seutil_domtrans_setfiles',`
|
|||||||
domtrans_pattern($1, setfiles_exec_t, setfiles_t)
|
domtrans_pattern($1, setfiles_exec_t, setfiles_t)
|
||||||
|
|
||||||
ifdef(`hide_broken_symptoms', `
|
ifdef(`hide_broken_symptoms', `
|
||||||
dontaudit consoletype_t $1:socket_class_set { read write };
|
dontaudit setfiles_t $1:socket_class_set { read write };
|
||||||
')
|
')
|
||||||
')
|
')
|
||||||
|
|
||||||
@ -1078,6 +1082,10 @@ interface(`seutil_domtrans_semanage',`
|
|||||||
files_search_usr($1)
|
files_search_usr($1)
|
||||||
corecmd_search_bin($1)
|
corecmd_search_bin($1)
|
||||||
domtrans_pattern($1, semanage_exec_t, semanage_t)
|
domtrans_pattern($1, semanage_exec_t, semanage_t)
|
||||||
|
|
||||||
|
ifdef(`hide_broken_symptoms', `
|
||||||
|
dontaudit semanage_t $1:socket_class_set { read write };
|
||||||
|
')
|
||||||
')
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
|
Loading…
Reference in New Issue
Block a user