Gentoo Archives: gentoo-commits

From: Sven Vermeulen <sven.vermeulen@××××××.be>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/kernel/
Date: Wed, 01 May 2013 18:42:46
Message-Id: 1367433644.7359fd58dfeb8f6e3b07b7f71d9e379d68acc255.SwifT@gentoo
1 commit: 7359fd58dfeb8f6e3b07b7f71d9e379d68acc255
2 Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
3 AuthorDate: Wed May 1 18:40:44 2013 +0000
4 Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
5 CommitDate: Wed May 1 18:40:44 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=7359fd58
7
8 Add trivnet1 port declaration
9
10 ---
11 policy/modules/kernel/corenetwork.te.in | 4 ++++
12 1 files changed, 4 insertions(+), 0 deletions(-)
13
14 diff --git a/policy/modules/kernel/corenetwork.te.in b/policy/modules/kernel/corenetwork.te.in
15 index 886aafb..d712240 100644
16 --- a/policy/modules/kernel/corenetwork.te.in
17 +++ b/policy/modules/kernel/corenetwork.te.in
18 @@ -350,3 +350,7 @@ allow corenet_unconfined_type port_type:udp_socket { send_msg recv_msg };
19 # Bind to any network address.
20 allow corenet_unconfined_type port_type:{ tcp_socket udp_socket rawip_socket } name_bind;
21 allow corenet_unconfined_type node_type:{ tcp_socket udp_socket rawip_socket } node_bind;
22 +
23 +ifdef(`distro_gentoo',`
24 +network_port(trivnet1, tcp,8200,s0, udp,8200,s0)
25 +')