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 4F7DB58973 for ; Sat, 30 Jan 2016 17:21:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8A7F21C021; Sat, 30 Jan 2016 17:21:22 +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 83BEA21C028 for ; Sat, 30 Jan 2016 17:21:21 +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 8F5FF340C21 for ; Sat, 30 Jan 2016 17:21:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09342BFF for ; Sat, 30 Jan 2016 17:21:18 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1454174216.482a3e8b03cf77c4b3113a5d340aece78da232c0.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/kernel/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/kernel/domain.te X-VCS-Directories: policy/modules/kernel/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 482a3e8b03cf77c4b3113a5d340aece78da232c0 X-VCS-Branch: master Date: Sat, 30 Jan 2016 17:21:18 +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: e63d7768-c4a0-457c-9e6c-20badea63413 X-Archives-Hash: 6ebfba36f4b1bc43c37bd75a1e2c7470 commit: 482a3e8b03cf77c4b3113a5d340aece78da232c0 Author: Chris PeBenito tresys com> AuthorDate: Wed Jan 6 14:09:36 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Jan 30 17:16:56 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=482a3e8b Add neverallow for mac_override capability. It is not used by SELinux. policy/modules/kernel/domain.te | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/policy/modules/kernel/domain.te b/policy/modules/kernel/domain.te index dfcf4a7..fa24e36 100644 --- a/policy/modules/kernel/domain.te +++ b/policy/modules/kernel/domain.te @@ -1,4 +1,4 @@ -policy_module(domain, 1.13.0) +policy_module(domain, 1.13.1) ######################################## # @@ -35,6 +35,9 @@ attribute set_curr_context; # dynamic transition, you should not be using it!!! neverallow { domain -set_curr_context } self:process setcurrent; +# No domain needs mac_override as it is unused by SELinux. +neverallow domain self:capability2 mac_override; + # entrypoint executables attribute entry_type;