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 AE441138A1A for ; Sun, 15 Feb 2015 17:39:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 461FBE08A2; Sun, 15 Feb 2015 17:39:27 +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 D456EE08A2 for ; Sun, 15 Feb 2015 17:39:26 +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 D98233406AD for ; Sun, 15 Feb 2015 17:39:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C45F611D34 for ; Sun, 15 Feb 2015 17:39:23 +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: <1424021785.5b8d41a56f311e6238010a2b2d42480f904eefb6.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/policy_capabilities X-VCS-Directories: policy/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 5b8d41a56f311e6238010a2b2d42480f904eefb6 X-VCS-Branch: master Date: Sun, 15 Feb 2015 17:39:23 +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: 7f1aa8f9-06bb-4423-a0b4-3f25cf86a5bc X-Archives-Hash: 1ff31d5beeeabf87c672d2280587b5e4 commit: 5b8d41a56f311e6238010a2b2d42480f904eefb6 Author: Chris PeBenito tresys com> AuthorDate: Tue Jan 27 22:25:36 2015 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Feb 15 17:36:25 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=5b8d41a5 Add always_check_network policy capability. Disabled by default, as most systems don't want/need this. --- policy/policy_capabilities | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/policy/policy_capabilities b/policy/policy_capabilities index db3cbca..70a4311 100644 --- a/policy/policy_capabilities +++ b/policy/policy_capabilities @@ -31,3 +31,13 @@ policycap network_peer_controls; # blk_file: open # policycap open_perms; + +# Always enforce network access controls, even +# if labeling is not configured for them. +# Available in kernel 3.13+ +# +# Checks enabled: +# packet: send recv +# peer: recv +# +# policycap always_check_network;