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 182AD1392EF for ; Sun, 22 Jun 2014 10:34:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9EBE8E08C6; Sun, 22 Jun 2014 10:34:38 +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 34894E08C6 for ; Sun, 22 Jun 2014 10:34:38 +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 3D9CC33FE97 for ; Sun, 22 Jun 2014 10:34:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 7A3D618E20 for ; Sun, 22 Jun 2014 10:34:35 +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: <1403433220.a86d100c0c85eb918d6e8f7585f0f90d36fb78e3.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/locallogin.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: a86d100c0c85eb918d6e8f7585f0f90d36fb78e3 X-VCS-Branch: master Date: Sun, 22 Jun 2014 10:34:35 +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: 798895e8-d00a-433f-99f5-3ed8b3f65460 X-Archives-Hash: 4da129b979aad66a7b2da22324b5879f commit: a86d100c0c85eb918d6e8f7585f0f90d36fb78e3 Author: Sven Vermeulen siphos be> AuthorDate: Sun Jun 22 10:33:40 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Jun 22 10:33:40 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=a86d100c Allow local_login_t to execute /etc/security/namespace.init in case of polyinstantiation --- policy/modules/system/locallogin.te | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/policy/modules/system/locallogin.te b/policy/modules/system/locallogin.te index 03c26f0..d8b56c8 100644 --- a/policy/modules/system/locallogin.te +++ b/policy/modules/system/locallogin.te @@ -264,3 +264,12 @@ optional_policy(` optional_policy(` nscd_use(sulogin_t) ') + +ifdef(`distro_gentoo',` + +# Enable polyinstantiation of directories +tunable_policy(`allow_polyinstantiation',` + # Execute /etc/security/namespace.init + corecmd_exec_bin(local_login_t) +') +')