mirror of
https://github.com/SELinuxProject/refpolicy
synced 2025-04-01 22:58:20 +00:00
files: introduce files_dontaudit_read_etc_files
Signed-off-by: Jason Zaman <jason@perfinion.com>
This commit is contained in:
parent
1bc0503d53
commit
d83a104eda
@ -3403,6 +3403,25 @@ interface(`files_dontaudit_read_etc_runtime_files',`
|
|||||||
dontaudit $1 etc_runtime_t:file { getattr read };
|
dontaudit $1 etc_runtime_t:file { getattr read };
|
||||||
')
|
')
|
||||||
|
|
||||||
|
########################################
|
||||||
|
## <summary>
|
||||||
|
## Do not audit attempts to read files
|
||||||
|
## in /etc
|
||||||
|
## </summary>
|
||||||
|
## <param name="domain">
|
||||||
|
## <summary>
|
||||||
|
## Domain to not audit.
|
||||||
|
## </summary>
|
||||||
|
## </param>
|
||||||
|
#
|
||||||
|
interface(`files_dontaudit_read_etc_files',`
|
||||||
|
gen_require(`
|
||||||
|
type etc_t;
|
||||||
|
')
|
||||||
|
|
||||||
|
dontaudit $1 etc_t:file { getattr read };
|
||||||
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
## <summary>
|
## <summary>
|
||||||
## Do not audit attempts to write
|
## Do not audit attempts to write
|
||||||
|
Loading…
Reference in New Issue
Block a user