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 03BB413881E for ; Thu, 12 Dec 2013 12:37:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2795E0A83; Thu, 12 Dec 2013 12:37:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 07631E0A83 for ; Thu, 12 Dec 2013 12:37:07 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2BE7333F2B1 for ; Thu, 12 Dec 2013 12:37:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id E92B619002B for ; Thu, 12 Dec 2013 12:37:04 +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: <1386851706.1355c5f867cd67729ec78f0d86ffc09e63b426b7.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.if X-VCS-Directories: policy/modules/system/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 1355c5f867cd67729ec78f0d86ffc09e63b426b7 X-VCS-Branch: master Date: Thu, 12 Dec 2013 12:37:04 +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: 588f15a0-1a8b-4571-b860-b78a6ef46bbc X-Archives-Hash: 73c13b794ebe3dba61fa6b1675d4be81 commit: 1355c5f867cd67729ec78f0d86ffc09e63b426b7 Author: Dominick Grift gmail com> AuthorDate: Sat Nov 9 09:45:01 2013 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Thu Dec 12 12:35:06 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=1355c5f8 init: for a specified automatic role transition to work. the source role must be allowed to change manually to the target role Signed-off-by: Dominick Grift gmail.com> --- policy/modules/system/init.if | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/modules/system/init.if b/policy/modules/system/init.if index 06780d5..3b788c2 100644 --- a/policy/modules/system/init.if +++ b/policy/modules/system/init.if @@ -990,6 +990,8 @@ interface(`init_run_daemon',` ') typeattribute $1 direct_run_init; + + allow $2 system_r; role_transition $2 direct_init_entry system_r; ')