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 6C0731387FD 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 EF423E0907; Tue, 10 Jun 2014 18:17:10 +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 2F794E0907 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 52A85340102 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 1E634182D6 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: <1402424066.3246e04de8ab5526661622c066a1ca5020f4fe23.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/init.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 3246e04de8ab5526661622c066a1ca5020f4fe23 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: 23aa1036-e69c-4227-b5cb-19910b73d1ee X-Archives-Hash: bddf5769468f6b80b36c3623e672eada commit: 3246e04de8ab5526661622c066a1ca5020f4fe23 Author: Luis Ressel aixah de> AuthorDate: Wed Jun 4 12:32:28 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Tue Jun 10 18:14:26 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=3246e04d Allow init to execute shutdown In many inittabs, there's a line like "ca:12345:ctrlaltdel:/sbin/shutdown -h now" which triggers a shutdown or a reboot on Ctrl+Alt+Del. --- policy/modules/system/init.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/system/init.te b/policy/modules/system/init.te index a4a7872..2deb7e5 100644 --- a/policy/modules/system/init.te +++ b/policy/modules/system/init.te @@ -213,6 +213,10 @@ optional_policy(` ') optional_policy(` + shutdown_domtrans(init_t) +') + +optional_policy(` sssd_stream_connect(init_t) ')