selinux-policy/policy/modules/admin/mrtg.if

20 lines
411 B
Plaintext
Raw Normal View History

2006-01-31 21:43:09 +00:00
## <summary>Network traffic graphing</summary>
########################################
## <summary>
## Create and append mrtg logs.
## </summary>
## <param name="domain">
## <summary>
2006-01-31 21:43:09 +00:00
## Domain allowed access.
## </summary>
2006-01-31 21:43:09 +00:00
## </param>
#
interface(`mrtg_append_create_logs',`
gen_require(`
type mrtg_log_t;
')
allow $1 mrtg_log_t:dir rw_dir_perms;
allow $1 mrtg_log_t:file { create append getattr };
')