Replace type and attributes statements by comma delimiters where possible.

Replace type and attributes statements by comma delimiters where possible.
This commit is contained in:
Dominick Grift 2010-09-21 13:02:21 +02:00
parent 612346475b
commit f262674898
3 changed files with 4 additions and 6 deletions

View File

@ -206,8 +206,7 @@ interface(`squid_use',`
interface(`squid_admin',` interface(`squid_admin',`
gen_require(` gen_require(`
type squid_t, squid_cache_t, squid_conf_t; type squid_t, squid_cache_t, squid_conf_t;
type squid_log_t, squid_var_run_t; type squid_log_t, squid_var_run_t, squid_initrc_exec_t;
type squid_initrc_exec_t;
') ')
allow $1 squid_t:process { ptrace signal_perms }; allow $1 squid_t:process { ptrace signal_perms };

View File

@ -151,8 +151,8 @@ interface(`varnishd_manage_log',`
# #
interface(`varnishd_admin_varnishlog',` interface(`varnishd_admin_varnishlog',`
gen_require(` gen_require(`
type varnishlog_t, varnishlog_initrc_exec_t; type varnishlog_t, varnishlog_initrc_exec_t, varnishlog_log_t;
type varnishlog_var_run_t, varnishlog_log_t; type varnishlog_var_run_t;
') ')
allow $1 varnishlog_t:process { ptrace signal_perms }; allow $1 varnishlog_t:process { ptrace signal_perms };

View File

@ -133,8 +133,7 @@ interface(`vnstatd_manage_lib_dirs',`
# #
interface(`vnstatd_admin',` interface(`vnstatd_admin',`
gen_require(` gen_require(`
type vnstatd_t; type vnstatd_t, vnstatd_var_lib_t;
type vnstatd_var_lib_t;
') ')
allow $1 vnstatd_t:process { ptrace signal_perms }; allow $1 vnstatd_t:process { ptrace signal_perms };