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 99E0213827E for ; Mon, 9 Dec 2013 19:17:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 02C74E0BCB; Mon, 9 Dec 2013 19:17:22 +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 99311E0BCB for ; Mon, 9 Dec 2013 19:17:21 +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 2CAC533F2D1 for ; Mon, 9 Dec 2013 19:17:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 5301FE56D6 for ; Mon, 9 Dec 2013 19:17:17 +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: <1386616506.9ab3cc62da79e999f120d447425098b3114ec168.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.fc X-VCS-Directories: policy/modules/system/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 9ab3cc62da79e999f120d447425098b3114ec168 X-VCS-Branch: master Date: Mon, 9 Dec 2013 19:17:17 +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: 90d4648d-4eb1-4027-adf3-ebd5d325afd7 X-Archives-Hash: 9efbd2b3f8a188410ab1017856f423d4 commit: 9ab3cc62da79e999f120d447425098b3114ec168 Author: Sven Vermeulen siphos be> AuthorDate: Mon Dec 9 19:15:06 2013 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Mon Dec 9 19:15:06 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=9ab3cc62 Support python-exec location for semanage The new python-exec stores the Python code in /urs/lib/python-exec/${EPYTHON}. Luckily, it /executes/ the code rather than loading it as a library, so we can just set the context on these files. --- policy/modules/system/selinuxutil.fc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/modules/system/selinuxutil.fc b/policy/modules/system/selinuxutil.fc index 335583d..22358d0 100644 --- a/policy/modules/system/selinuxutil.fc +++ b/policy/modules/system/selinuxutil.fc @@ -56,4 +56,6 @@ ifdef(`distro_gentoo',` # Support for gentoo python switcheridoo /usr/sbin/semanage-python.* -- gen_context(system_u:object_r:semanage_exec_t,s0) +# Even more python switcheridoo, different this time +/usr/lib/python-exec/python.*/semanage -- gen_context(system_u:object_r:semanage_exec_t,s0) ')