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 94F51139694 for ; Mon, 27 Feb 2017 10:51:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EAE8D21C092; Mon, 27 Feb 2017 10:50:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 BF2CD21C092 for ; Mon, 27 Feb 2017 10:50:57 +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 E3508340F53 for ; Mon, 27 Feb 2017 10:50:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AD9A9564E for ; Mon, 27 Feb 2017 10:50:55 +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: <1488191880.4cad32c069d96e1f34d90a2fc05d3d05b65c8ae3.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/, policy/modules/kernel/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/kernel/corenetwork.te.in policy/modules/system/iptables.te policy/modules/system/sysnetwork.fc policy/modules/system/sysnetwork.te X-VCS-Directories: policy/modules/kernel/ policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 4cad32c069d96e1f34d90a2fc05d3d05b65c8ae3 X-VCS-Branch: master Date: Mon, 27 Feb 2017 10:50:55 +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: 2d1a32bd-a6a1-425d-976c-34eb54980479 X-Archives-Hash: f98d868a00dc4bff87b8f5c3d2ba97e7 commit: 4cad32c069d96e1f34d90a2fc05d3d05b65c8ae3 Author: Chris PeBenito ieee org> AuthorDate: Sat Feb 25 16:20:19 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Mon Feb 27 10:38:00 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=4cad32c0 Network daemon patches from Russell Coker. policy/modules/kernel/corenetwork.te.in | 6 +++--- policy/modules/system/iptables.te | 4 +++- policy/modules/system/sysnetwork.fc | 2 ++ policy/modules/system/sysnetwork.te | 6 +++++- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/policy/modules/kernel/corenetwork.te.in b/policy/modules/kernel/corenetwork.te.in index 68aba14c..b3db0139 100644 --- a/policy/modules/kernel/corenetwork.te.in +++ b/policy/modules/kernel/corenetwork.te.in @@ -1,4 +1,4 @@ -policy_module(corenetwork, 1.23.2) +policy_module(corenetwork, 1.23.3) ######################################## # @@ -216,7 +216,7 @@ network_port(pop, tcp,106,s0, tcp,109,s0, tcp,110,s0, tcp,143,s0, tcp,220,s0, tc network_port(portmap, udp,111,s0, tcp,111,s0) network_port(postfix_policyd, tcp,10031,s0) network_port(postgresql, tcp,5432,s0) -network_port(postgrey, tcp,60000,s0) +network_port(postgrey, tcp,10023,s0, tcp,60000,s0) network_port(pptp, tcp,1723,s0, udp,1723,s0) network_port(prelude, tcp,4690,s0, udp,4690,s0) network_port(presence, tcp,5298-5299,s0, udp,5298-5299,s0) @@ -236,7 +236,7 @@ network_port(repository, tcp, 6363, s0) network_port(ricci, tcp,11111,s0, udp,11111,s0) network_port(ricci_modcluster, tcp,16851,s0, udp,16851,s0) network_port(rlogind, tcp,513,s0) -network_port(rndc, tcp,953,s0, udp,953,s0) +network_port(rndc, tcp,953,s0, udp,953,s0, tcp,8953,s0, udp,8953,s0) network_port(router, udp,520,s0, udp,521,s0, tcp,521,s0) network_port(rsh, tcp,514,s0) network_port(rsync, tcp,873,s0, udp,873,s0) diff --git a/policy/modules/system/iptables.te b/policy/modules/system/iptables.te index 0380f55b..e8063b99 100644 --- a/policy/modules/system/iptables.te +++ b/policy/modules/system/iptables.te @@ -1,4 +1,4 @@ -policy_module(iptables, 1.18.1) +policy_module(iptables, 1.18.2) ######################################## # @@ -153,4 +153,6 @@ optional_policy(` optional_policy(` udev_read_db(iptables_t) + # this is for iptables_t to inherit a file hande from xen vif-bridge + udev_manage_pid_files(iptables_t) ') diff --git a/policy/modules/system/sysnetwork.fc b/policy/modules/system/sysnetwork.fc index e887076b..817d620b 100644 --- a/policy/modules/system/sysnetwork.fc +++ b/policy/modules/system/sysnetwork.fc @@ -58,6 +58,7 @@ ifdef(`distro_redhat',` /var/lib/dhcp3? -d gen_context(system_u:object_r:dhcp_state_t,s0) /var/lib/dhcp3?/dhclient.* gen_context(system_u:object_r:dhcpc_state_t,s0) /var/lib/dhcpcd(/.*)? gen_context(system_u:object_r:dhcpc_state_t,s0) +/var/lib/dhcpv6(/.*)? gen_context(system_u:object_r:dhcpc_state_t,s0) /var/lib/dhclient(/.*)? gen_context(system_u:object_r:dhcpc_state_t,s0) /var/lib/wifiroamd(/.*)? gen_context(system_u:object_r:dhcpc_state_t,s0) @@ -70,6 +71,7 @@ ifdef(`distro_gentoo',` ifdef(`distro_debian',` /run/network(/.*)? gen_context(system_u:object_r:net_conf_t,s0) +/var/run/resolvconf/.* -- gen_context(system_u:object_r:net_conf_t,s0) ') ifdef(`distro_gentoo',` diff --git a/policy/modules/system/sysnetwork.te b/policy/modules/system/sysnetwork.te index caec3181..d21a2d64 100644 --- a/policy/modules/system/sysnetwork.te +++ b/policy/modules/system/sysnetwork.te @@ -1,4 +1,4 @@ -policy_module(sysnetwork, 1.20.3) +policy_module(sysnetwork, 1.20.4) ######################################## # @@ -244,6 +244,10 @@ optional_policy(` ') optional_policy(` + samba_manage_config(dhcpc_t) +') + +optional_policy(` seutil_sigchld_newrole(dhcpc_t) seutil_dontaudit_search_config(dhcpc_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 B3D4D139696 for ; Mon, 27 Feb 2017 11:40:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AC28FE0C30; Mon, 27 Feb 2017 11:40:11 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 7DD62E0C30 for ; Mon, 27 Feb 2017 11:40:11 +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 E8D86340C97 for ; Mon, 27 Feb 2017 11:40:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EDB9A5658 for ; Mon, 27 Feb 2017 11:40:07 +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: <1488191880.4cad32c069d96e1f34d90a2fc05d3d05b65c8ae3.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/system/, policy/modules/kernel/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/kernel/corenetwork.te.in policy/modules/system/iptables.te policy/modules/system/sysnetwork.fc policy/modules/system/sysnetwork.te X-VCS-Directories: policy/modules/system/ policy/modules/kernel/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 4cad32c069d96e1f34d90a2fc05d3d05b65c8ae3 X-VCS-Branch: next Date: Mon, 27 Feb 2017 11:40:07 +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: 8f692d1e-f226-4930-b8f9-52d7b3129cb3 X-Archives-Hash: 53128b1979c9fa5cc78fa4c02b8b6aab Message-ID: <20170227114007.OG-4Caw3KhbttDlvPv97tj4G4PJ-twQyXQC2RnZWwnM@z> commit: 4cad32c069d96e1f34d90a2fc05d3d05b65c8ae3 Author: Chris PeBenito ieee org> AuthorDate: Sat Feb 25 16:20:19 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Mon Feb 27 10:38:00 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=4cad32c0 Network daemon patches from Russell Coker. policy/modules/kernel/corenetwork.te.in | 6 +++--- policy/modules/system/iptables.te | 4 +++- policy/modules/system/sysnetwork.fc | 2 ++ policy/modules/system/sysnetwork.te | 6 +++++- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/policy/modules/kernel/corenetwork.te.in b/policy/modules/kernel/corenetwork.te.in index 68aba14c..b3db0139 100644 --- a/policy/modules/kernel/corenetwork.te.in +++ b/policy/modules/kernel/corenetwork.te.in @@ -1,4 +1,4 @@ -policy_module(corenetwork, 1.23.2) +policy_module(corenetwork, 1.23.3) ######################################## # @@ -216,7 +216,7 @@ network_port(pop, tcp,106,s0, tcp,109,s0, tcp,110,s0, tcp,143,s0, tcp,220,s0, tc network_port(portmap, udp,111,s0, tcp,111,s0) network_port(postfix_policyd, tcp,10031,s0) network_port(postgresql, tcp,5432,s0) -network_port(postgrey, tcp,60000,s0) +network_port(postgrey, tcp,10023,s0, tcp,60000,s0) network_port(pptp, tcp,1723,s0, udp,1723,s0) network_port(prelude, tcp,4690,s0, udp,4690,s0) network_port(presence, tcp,5298-5299,s0, udp,5298-5299,s0) @@ -236,7 +236,7 @@ network_port(repository, tcp, 6363, s0) network_port(ricci, tcp,11111,s0, udp,11111,s0) network_port(ricci_modcluster, tcp,16851,s0, udp,16851,s0) network_port(rlogind, tcp,513,s0) -network_port(rndc, tcp,953,s0, udp,953,s0) +network_port(rndc, tcp,953,s0, udp,953,s0, tcp,8953,s0, udp,8953,s0) network_port(router, udp,520,s0, udp,521,s0, tcp,521,s0) network_port(rsh, tcp,514,s0) network_port(rsync, tcp,873,s0, udp,873,s0) diff --git a/policy/modules/system/iptables.te b/policy/modules/system/iptables.te index 0380f55b..e8063b99 100644 --- a/policy/modules/system/iptables.te +++ b/policy/modules/system/iptables.te @@ -1,4 +1,4 @@ -policy_module(iptables, 1.18.1) +policy_module(iptables, 1.18.2) ######################################## # @@ -153,4 +153,6 @@ optional_policy(` optional_policy(` udev_read_db(iptables_t) + # this is for iptables_t to inherit a file hande from xen vif-bridge + udev_manage_pid_files(iptables_t) ') diff --git a/policy/modules/system/sysnetwork.fc b/policy/modules/system/sysnetwork.fc index e887076b..817d620b 100644 --- a/policy/modules/system/sysnetwork.fc +++ b/policy/modules/system/sysnetwork.fc @@ -58,6 +58,7 @@ ifdef(`distro_redhat',` /var/lib/dhcp3? -d gen_context(system_u:object_r:dhcp_state_t,s0) /var/lib/dhcp3?/dhclient.* gen_context(system_u:object_r:dhcpc_state_t,s0) /var/lib/dhcpcd(/.*)? gen_context(system_u:object_r:dhcpc_state_t,s0) +/var/lib/dhcpv6(/.*)? gen_context(system_u:object_r:dhcpc_state_t,s0) /var/lib/dhclient(/.*)? gen_context(system_u:object_r:dhcpc_state_t,s0) /var/lib/wifiroamd(/.*)? gen_context(system_u:object_r:dhcpc_state_t,s0) @@ -70,6 +71,7 @@ ifdef(`distro_gentoo',` ifdef(`distro_debian',` /run/network(/.*)? gen_context(system_u:object_r:net_conf_t,s0) +/var/run/resolvconf/.* -- gen_context(system_u:object_r:net_conf_t,s0) ') ifdef(`distro_gentoo',` diff --git a/policy/modules/system/sysnetwork.te b/policy/modules/system/sysnetwork.te index caec3181..d21a2d64 100644 --- a/policy/modules/system/sysnetwork.te +++ b/policy/modules/system/sysnetwork.te @@ -1,4 +1,4 @@ -policy_module(sysnetwork, 1.20.3) +policy_module(sysnetwork, 1.20.4) ######################################## # @@ -244,6 +244,10 @@ optional_policy(` ') optional_policy(` + samba_manage_config(dhcpc_t) +') + +optional_policy(` seutil_sigchld_newrole(dhcpc_t) seutil_dontaudit_search_config(dhcpc_t) ')