files: introduce files_dontaudit_read_etc_files

Signed-off-by: Jason Zaman <jason@perfinion.com>
This commit is contained in:
Jason Zaman 2019-01-12 16:03:41 +08:00 committed by Chris PeBenito
parent 1bc0503d53
commit d83a104eda

View File

@ -3403,6 +3403,25 @@ interface(`files_dontaudit_read_etc_runtime_files',`
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>
## Do not audit attempts to write