From: dsugar@tresys.com (David Sugar) Date: Wed, 30 Aug 2017 16:12:55 +0000 Subject: [refpolicy] [PATCH 1/1]: mon: move rpc_* into optional Message-ID: <1B50C12ACFF4CB42B90D2581155DF50205B4A689@Exchange10.columbia.tresys.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com Move use of rpc_* interface into optional block so rpc module can be turned off. --- mon.te | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mon.te b/mon.te index f69cad3..5e93c7c 100644 --- a/mon.te +++ b/mon.te @@ -207,8 +207,6 @@ logging_send_syslog_msg(mon_local_test_t) miscfiles_read_localization(mon_local_test_t) -rpc_read_nfs_content(mon_local_test_t) - sysnet_read_config(mon_local_test_t) optional_policy(` @@ -220,5 +218,9 @@ optional_policy(` ') optional_policy(` + rpc_read_nfs_content(mon_local_test_t) +') + +optional_policy(` xserver_rw_console(mon_local_test_t) ') -- 2.13.5