parent
a67c2a819d
commit
ab652e1f59
|
@ -5212,6 +5212,24 @@ interface(`files_usr_filetrans',`
|
|||
filetrans_pattern($1, usr_t, $2, $3, $4)
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Search directories in /usr/src.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain allowed access.
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`files_search_src',`
|
||||
gen_require(`
|
||||
type src_t;
|
||||
')
|
||||
|
||||
allow $1 src_t:dir search_dir_perms;
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Do not audit attempts to search /usr/src.
|
||||
|
|
Loading…
Reference in New Issue