From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 66D7213989A for ; Thu, 27 Aug 2015 18:00:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67F29141D5; Thu, 27 Aug 2015 18:00:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E92B8141DF for ; Thu, 27 Aug 2015 18:00:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AD091340A74 for ; Thu, 27 Aug 2015 18:00:10 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 49F3F167 for ; Thu, 27 Aug 2015 18:00:08 +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: <1440698375.bd8629a0cd85a8b4cb40f463b4e8d28c54ab4d26.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/system/, policy/modules/services/, policy/modules/roles/, ... X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/consolekit.te policy/modules/roles/sysadm.te policy/modules/services/xserver.te policy/modules/system/locallogin.te X-VCS-Directories: policy/modules/contrib/ policy/modules/roles/ policy/modules/services/ policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: bd8629a0cd85a8b4cb40f463b4e8d28c54ab4d26 X-VCS-Branch: next Date: Thu, 27 Aug 2015 18:00:08 +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: 25455631-43c9-4d6f-a7fd-962faf8c9529 X-Archives-Hash: f64b79ea096a95a55bc70b194fd42aa1 Message-ID: <20150827180008.JQousEuU7T8pZ0D8PvdmBLo_HmlFglGhL35aJulx7zE@z> commit: bd8629a0cd85a8b4cb40f463b4e8d28c54ab4d26 Author: Jason Zaman perfinion com> AuthorDate: Wed Aug 26 06:21:08 2015 +0000 Commit: Jason Zaman gentoo org> CommitDate: Thu Aug 27 17:59:35 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=bd8629a0 Add cgmanager client domains policy/modules/contrib/consolekit.te | 4 ++++ policy/modules/roles/sysadm.te | 4 ++++ policy/modules/services/xserver.te | 9 +++++++++ policy/modules/system/locallogin.te | 14 +++++++++----- 4 files changed, 26 insertions(+), 5 deletions(-) diff --git a/policy/modules/contrib/consolekit.te b/policy/modules/contrib/consolekit.te index 1adb72e..cd02890 100644 --- a/policy/modules/contrib/consolekit.te +++ b/policy/modules/contrib/consolekit.te @@ -161,4 +161,8 @@ ifdef(`distro_gentoo',` optional_policy(` devicekit_manage_log_files(consolekit_t) ') + + optional_policy(` + cgmanager_stream_connect(consolekit_t) + ') ') diff --git a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te index e479d77..40420c7 100644 --- a/policy/modules/roles/sysadm.te +++ b/policy/modules/roles/sysadm.te @@ -1281,6 +1281,10 @@ ifdef(`distro_gentoo',` ') optional_policy(` + cgmanager_stream_connect(sysadm_t) + ') + + optional_policy(` # Bug 529208 dmesg_run(sysadm_t, sysadm_r) ') diff --git a/policy/modules/services/xserver.te b/policy/modules/services/xserver.te index ecc5587..82b9501 100644 --- a/policy/modules/services/xserver.te +++ b/policy/modules/services/xserver.te @@ -1027,4 +1027,13 @@ ifdef(`distro_gentoo',` xdg_data_home_filetrans(xserver_t, xserver_xdg_data_home_t, dir) userdom_read_user_tmp_files(xserver_t) + + ######################################## + # + # xdm_t policy + # + + optional_policy(` + cgmanager_stream_connect(xdm_t) + ') ') diff --git a/policy/modules/system/locallogin.te b/policy/modules/system/locallogin.te index d8b56c8..5281665 100644 --- a/policy/modules/system/locallogin.te +++ b/policy/modules/system/locallogin.te @@ -267,9 +267,13 @@ optional_policy(` ifdef(`distro_gentoo',` -# Enable polyinstantiation of directories -tunable_policy(`allow_polyinstantiation',` - # Execute /etc/security/namespace.init - corecmd_exec_bin(local_login_t) -') + # Enable polyinstantiation of directories + tunable_policy(`allow_polyinstantiation',` + # Execute /etc/security/namespace.init + corecmd_exec_bin(local_login_t) + ') + + optional_policy(` + cgmanager_stream_connect(local_login_t) + ') ')