From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 03ACE1396D0 for ; Sat, 9 Sep 2017 02:43:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1278A1FC11E; Sat, 9 Sep 2017 02:43:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E3E3B1FC11E for ; Sat, 9 Sep 2017 02:43:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2B2E53416DE for ; Sat, 9 Sep 2017 02:43:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C2F8E9086 for ; Sat, 9 Sep 2017 02:43:01 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1504910931.0743b2a440f9fc6b9c2156489941dbff78b4dc5a.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/mon.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 0743b2a440f9fc6b9c2156489941dbff78b4dc5a X-VCS-Branch: master Date: Sat, 9 Sep 2017 02:43:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dff176b4-efd4-4069-877d-84233ee3942f X-Archives-Hash: 6434fe9672c547087d08810a8a1bee47 commit: 0743b2a440f9fc6b9c2156489941dbff78b4dc5a Author: David Sugar tresys com> AuthorDate: Wed Aug 30 16:12:55 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Fri Sep 8 22:48:51 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=0743b2a4 mon: move rpc_* into optional Move use of rpc_* interface into optional block so rpc module can be turned off. policy/modules/contrib/mon.te | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/policy/modules/contrib/mon.te b/policy/modules/contrib/mon.te index f69cad31..5e93c7c9 100644 --- a/policy/modules/contrib/mon.te +++ b/policy/modules/contrib/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) ')