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 C043F138200 for ; Sun, 28 Oct 2012 18:03:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3874421C063; Sun, 28 Oct 2012 18:01:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 93ED021C068 for ; Sun, 28 Oct 2012 18:01:42 +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 B9DC333D969 for ; Sun, 28 Oct 2012 18:01:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 627C5E5447 for ; Sun, 28 Oct 2012 18:01:40 +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: <1351447017.64b7b7f247ddc1098f59040e78233a9f52e5a016.SwifT@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/portage.if X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 64b7b7f247ddc1098f59040e78233a9f52e5a016 X-VCS-Branch: master Date: Sun, 28 Oct 2012 18:01:40 +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: f8d9bdf6-3e55-4324-ac8f-0cfb57adb109 X-Archives-Hash: 5291081e549e86851c2d6d3e365f3c1c commit: 64b7b7f247ddc1098f59040e78233a9f52e5a016 Author: Sven Vermeulen siphos be> AuthorDate: Sun Oct 28 17:56:57 2012 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Sun Oct 28 17:56:57 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=64b7b7f2 Removing ldconfig domtrans Currently, portage_sandbox_t is allowed to transition to ldconfig_t, as the only domain it can transition towards. However - this leads to some problems like bug 438362 (sandbox wants ptrace on ldconfig) - this doesn't seem needed, as regular execute rights suffice So removing the transition and replacing with a regular execution. --- policy/modules/contrib/portage.if | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/policy/modules/contrib/portage.if b/policy/modules/contrib/portage.if index 3136b3f..c0051ae 100644 --- a/policy/modules/contrib/portage.if +++ b/policy/modules/contrib/portage.if @@ -177,9 +177,7 @@ interface(`portage_compile_domain',` libs_exec_lib_files($1) # some config scripts use ldd libs_exec_ld_so($1) - # this violates the idea of sandbox, but - # regular sandbox allows it - libs_domtrans_ldconfig($1) + libs_exec_ldconfig($1) logging_send_syslog_msg($1)