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 20D9D138D16 for ; Sat, 11 Jul 2015 14:09:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DF22E08F6; Sat, 11 Jul 2015 14:09:50 +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 3EF79E08F3 for ; Sat, 11 Jul 2015 14:09:49 +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 60DC0340942 for ; Sat, 11 Jul 2015 14:09:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 42F2575E for ; Sat, 11 Jul 2015 14:09:45 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1435856824.ebfa09de178fd10f0b853b65548a255aaa3a777f.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:swift 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: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: ebfa09de178fd10f0b853b65548a255aaa3a777f X-VCS-Branch: swift Date: Sat, 11 Jul 2015 14:09:45 +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: 40b5eda4-2237-4ada-9efd-06b434a195ba X-Archives-Hash: ecfd90b76d72b5f362c6f95419683b9b commit: ebfa09de178fd10f0b853b65548a255aaa3a777f Author: Jason Zaman perfinion com> AuthorDate: Sat Jun 20 12:11:18 2015 +0000 Commit: Sven Vermeulen 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) + ') +')