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 DBF71138CD0 for ; Thu, 2 Jul 2015 18:14:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D15014172; Thu, 2 Jul 2015 18:07:59 +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 C2CD414172 for ; Thu, 2 Jul 2015 18:07:48 +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 15739340A2F for ; Thu, 2 Jul 2015 18:07:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C4EA3750 for ; Thu, 2 Jul 2015 18:07:20 +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: <1435856824.c9df4e6221b8f12d1683350b6a729837e3f22ddc.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/consolekit.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: c9df4e6221b8f12d1683350b6a729837e3f22ddc X-VCS-Branch: next Date: Thu, 2 Jul 2015 18:07:20 +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: 881945b9-2478-4fc4-ab97-e5db9d7a512f X-Archives-Hash: 7c28bb043021b7a30b191f308d27edf9 Message-ID: <20150702180720.1ir_xWlF_SH0F2OQT2vmJLZTUd_SVncB3wFVu3jl9p4@z> commit: c9df4e6221b8f12d1683350b6a729837e3f22ddc Author: Jason Zaman perfinion com> AuthorDate: Sat Jun 20 13:01:05 2015 +0000 Commit: Jason Zaman gentoo org> CommitDate: Thu Jul 2 17:07:04 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=c9df4e62 consolekit: add suspend perms for ConsoleKit2 policy/modules/contrib/consolekit.te | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/policy/modules/contrib/consolekit.te b/policy/modules/contrib/consolekit.te index a7506c1..1adb72e 100644 --- a/policy/modules/contrib/consolekit.te +++ b/policy/modules/contrib/consolekit.te @@ -155,4 +155,10 @@ ifdef(`distro_gentoo',` optional_policy(` udev_read_pid_files(consolekit_t) ') + + # needs to write to sys for suspend + dev_rw_sysfs(consolekit_t) + optional_policy(` + devicekit_manage_log_files(consolekit_t) + ') ')