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 BA6BE138CD0 for ; Thu, 2 Jul 2015 17:07:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5641BE0784; Thu, 2 Jul 2015 17:07:51 +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 D37A8E0782 for ; Thu, 2 Jul 2015 17:07:50 +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 10898340860 for ; Thu, 2 Jul 2015 17:07:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E0FE474C for ; Thu, 2 Jul 2015 17:07:46 +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.ebfa09de178fd10f0b853b65548a255aaa3a777f.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/consolekit.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: ebfa09de178fd10f0b853b65548a255aaa3a777f X-VCS-Branch: master Date: Thu, 2 Jul 2015 17:07:46 +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: 792ba154-97b1-46ad-91c3-c51c5a52b0c9 X-Archives-Hash: db4c1bb220efc34ea7a89d2fa1cebb9b Message-ID: <20150702170746.CUPFWZX73WUnP0lQQ1-oQU5lswba7kOoEFnx3fZ0y1w@z> commit: ebfa09de178fd10f0b853b65548a255aaa3a777f Author: Jason Zaman perfinion com> AuthorDate: Sat Jun 20 12:11:18 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=ebfa09de consolekit: needs to be able to chown dev nodes policy/modules/contrib/consolekit.te | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/policy/modules/contrib/consolekit.te b/policy/modules/contrib/consolekit.te index 050c5c5..a7506c1 100644 --- a/policy/modules/contrib/consolekit.te +++ b/policy/modules/contrib/consolekit.te @@ -147,3 +147,12 @@ optional_policy(` optional_policy(` unconfined_stream_connect(consolekit_t) ') + +ifdef(`distro_gentoo',` + # consolekit needs to be able to chown /dev nodes when logging in + dev_setattr_all_chr_files(consolekit_t) + + optional_policy(` + udev_read_pid_files(consolekit_t) + ') +')