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 A01DC1393EA for ; Tue, 10 Jun 2014 18:17:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D37DE08F6; Tue, 10 Jun 2014 18:17:11 +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 5154FE0916 for ; Tue, 10 Jun 2014 18:17:10 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 748FE340107 for ; Tue, 10 Jun 2014 18:17:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 3B522182D7 for ; Tue, 10 Jun 2014 18:17:08 +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: <1402424068.fcd9103749c10057508ffd8efc08f3a4559c5e39.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/services/xserver.te X-VCS-Directories: policy/modules/services/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: fcd9103749c10057508ffd8efc08f3a4559c5e39 X-VCS-Branch: master Date: Tue, 10 Jun 2014 18:17: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: 71911e5b-b5cc-4a48-a031-2e9a9c41ad7e X-Archives-Hash: 9ec70a797c63f7f047d98dd99418cb45 commit: fcd9103749c10057508ffd8efc08f3a4559c5e39 Author: Luis Ressel aixah de> AuthorDate: Wed Jun 4 15:12:40 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Tue Jun 10 18:14:28 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=fcd91037 Allow xdm_t to transition to shutdown_t domain Several DMs offer the possibility to shutdown the system. I personally don't think a bool is neccessary for this permission, but I wouldn't oppose one either. --- policy/modules/services/xserver.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/services/xserver.te b/policy/modules/services/xserver.te index 909782e..a3aa4bc 100644 --- a/policy/modules/services/xserver.te +++ b/policy/modules/services/xserver.te @@ -563,6 +563,10 @@ optional_policy(` ') optional_policy(` + shutdown_domtrans(xdm_t) +') + +optional_policy(` udev_read_db(xdm_t) ')