From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2E7A71395E2 for ; Thu, 8 Dec 2016 04:47:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77FD021C20E; Thu, 8 Dec 2016 04:47:53 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 571E421C208 for ; Thu, 8 Dec 2016 04:47:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9F5DB341422 for ; Thu, 8 Dec 2016 04:47:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF15B24C2 for ; Thu, 8 Dec 2016 04:47:44 +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: <1481172302.e52d67f09e996710fb8f6a8c9e37843788269b46.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/kernel.if X-VCS-Directories: policy/modules/kernel/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: e52d67f09e996710fb8f6a8c9e37843788269b46 X-VCS-Branch: master Date: Thu, 8 Dec 2016 04:47:44 +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: 08938fc2-91c7-499d-8f9e-e0a7fa7fbb97 X-Archives-Hash: bb039b13e849701b71d434372f246048 commit: e52d67f09e996710fb8f6a8c9e37843788269b46 Author: Luis Ressel aixah de> AuthorDate: Tue Dec 6 22:49:02 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Thu Dec 8 04:45:02 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=e52d67f0 kernel.if: Allow listing /proc/sys/net/unix The kernel_read_unix_sysctls() and kernel_rw_unix_sysctls() currenly don't allow listing the /proc/sys/net/unix directory, contrary to the other sysctl interfaces. policy/modules/kernel/kernel.if | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/policy/modules/kernel/kernel.if b/policy/modules/kernel/kernel.if index 5af202c..29709df 100644 --- a/policy/modules/kernel/kernel.if +++ b/policy/modules/kernel/kernel.if @@ -1758,7 +1758,7 @@ interface(`kernel_read_unix_sysctls',` read_files_pattern($1, { proc_t sysctl_t sysctl_net_t }, sysctl_net_unix_t) - list_dirs_pattern($1, { proc_t sysctl_t }, sysctl_net_t) + list_dirs_pattern($1, { proc_t sysctl_t }, { sysctl_net_t sysctl_net_unix_t }) ') ######################################## @@ -1780,7 +1780,7 @@ interface(`kernel_rw_unix_sysctls',` rw_files_pattern($1, { proc_t sysctl_t sysctl_net_t }, sysctl_net_unix_t) - list_dirs_pattern($1, { proc_t sysctl_t }, sysctl_net_t) + list_dirs_pattern($1, { proc_t sysctl_t }, { sysctl_net_t sysctl_net_unix_t }) ') ######################################## From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 113721395E2 for ; Thu, 8 Dec 2016 05:04:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6A98CE0E36; Thu, 8 Dec 2016 05:03:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47FD3E0E36 for ; Thu, 8 Dec 2016 05:03:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 828C834163C for ; Thu, 8 Dec 2016 05:03:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C7D4024C4 for ; Thu, 8 Dec 2016 05:03:47 +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: <1481172302.e52d67f09e996710fb8f6a8c9e37843788269b46.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/kernel/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/kernel/kernel.if X-VCS-Directories: policy/modules/kernel/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: e52d67f09e996710fb8f6a8c9e37843788269b46 X-VCS-Branch: next Date: Thu, 8 Dec 2016 05:03:47 +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: fda59473-3215-4cbf-8bb3-8492271441dd X-Archives-Hash: d8fc1f11fab08172d6bf5b245fdd0261 Message-ID: <20161208050347.X9iBIVyRIWlapwqwMOCZyH-N8zTcu-5HHwj6SIHk2BI@z> commit: e52d67f09e996710fb8f6a8c9e37843788269b46 Author: Luis Ressel aixah de> AuthorDate: Tue Dec 6 22:49:02 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Thu Dec 8 04:45:02 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=e52d67f0 kernel.if: Allow listing /proc/sys/net/unix The kernel_read_unix_sysctls() and kernel_rw_unix_sysctls() currenly don't allow listing the /proc/sys/net/unix directory, contrary to the other sysctl interfaces. policy/modules/kernel/kernel.if | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/policy/modules/kernel/kernel.if b/policy/modules/kernel/kernel.if index 5af202c..29709df 100644 --- a/policy/modules/kernel/kernel.if +++ b/policy/modules/kernel/kernel.if @@ -1758,7 +1758,7 @@ interface(`kernel_read_unix_sysctls',` read_files_pattern($1, { proc_t sysctl_t sysctl_net_t }, sysctl_net_unix_t) - list_dirs_pattern($1, { proc_t sysctl_t }, sysctl_net_t) + list_dirs_pattern($1, { proc_t sysctl_t }, { sysctl_net_t sysctl_net_unix_t }) ') ######################################## @@ -1780,7 +1780,7 @@ interface(`kernel_rw_unix_sysctls',` rw_files_pattern($1, { proc_t sysctl_t sysctl_net_t }, sysctl_net_unix_t) - list_dirs_pattern($1, { proc_t sysctl_t }, sysctl_net_t) + list_dirs_pattern($1, { proc_t sysctl_t }, { sysctl_net_t sysctl_net_unix_t }) ') ########################################