files: add files_watch_etc_symlinks interface
Signed-off-by: bauen1 <j2468h@gmail.com>
This commit is contained in:
parent
14acb02b90
commit
70e0d26988
|
@ -3200,6 +3200,24 @@ interface(`files_read_etc_symlinks',`
|
|||
read_lnk_files_pattern($1, etc_t, etc_t)
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Watch /etc symlinks
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain allowed access.
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`files_watch_etc_symlinks', `
|
||||
gen_require(`
|
||||
type etc_t;
|
||||
')
|
||||
|
||||
allow $1 etc_t:lnk_file watch;
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Create, read, write, and delete symbolic links in /etc.
|
||||
|
|
Loading…
Reference in New Issue