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 751E0138B72 for ; Sun, 2 Nov 2014 14:53:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 28C72E0BBC; Sun, 2 Nov 2014 14:53:37 +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 C4F69E0BBC for ; Sun, 2 Nov 2014 14:53:36 +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 997883402EC for ; Sun, 2 Nov 2014 14:53:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 436DF948C for ; Sun, 2 Nov 2014 14:53:34 +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: <1414940003.dd35a2da47d070915720f579a180a10df2a8baad.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/selinuxutil.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: dd35a2da47d070915720f579a180a10df2a8baad X-VCS-Branch: master Date: Sun, 2 Nov 2014 14:53:34 +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: 4d8d05e8-c58e-4c35-b470-5e3882b111e7 X-Archives-Hash: c81f6f4915f3cd7a4c09faa102370cdc commit: dd35a2da47d070915720f579a180a10df2a8baad Author: Sven Vermeulen siphos be> AuthorDate: Sun Nov 2 14:53:23 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Nov 2 14:53:23 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=dd35a2da Support pam_rootok.so update in pam.d/run_init for integrated run_init support in openrc --- policy/modules/system/selinuxutil.te | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/policy/modules/system/selinuxutil.te b/policy/modules/system/selinuxutil.te index 4d6f5d9..0ad0479 100644 --- a/policy/modules/system/selinuxutil.te +++ b/policy/modules/system/selinuxutil.te @@ -648,7 +648,8 @@ ifdef(`distro_gentoo',` class passwd { passwd chfn chsh rootok }; ') - allow run_init_t self:passwd rootok; + # Needed to support pam_rootok.so even with integrated run_init support in openrc + allow run_init_t self:passwd { passwd rootok }; # Fix bug #512676 allow run_init_t self:process signal;