1 |
commit: 17ece7e8acbfed3ad56d7ab1e3270df54c4e5bd4 |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Wed May 1 19:31:52 2013 +0000 |
4 |
Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
5 |
CommitDate: Wed May 1 19:31:52 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=17ece7e8 |
7 |
|
8 |
Meh, cannot append at end, order is important |
9 |
|
10 |
--- |
11 |
policy/modules/kernel/corenetwork.te.in | 5 +---- |
12 |
1 files changed, 1 insertions(+), 4 deletions(-) |
13 |
|
14 |
diff --git a/policy/modules/kernel/corenetwork.te.in b/policy/modules/kernel/corenetwork.te.in |
15 |
index d712240..0bdd1d5 100644 |
16 |
--- a/policy/modules/kernel/corenetwork.te.in |
17 |
+++ b/policy/modules/kernel/corenetwork.te.in |
18 |
@@ -263,6 +263,7 @@ network_port(tor, tcp,6969,s0, tcp,9001,s0, tcp,9030,s0, tcp,9050,s0, tcp,9051,s |
19 |
network_port(traceroute, udp,64000-64010,s0) |
20 |
network_port(transproxy, tcp,8081,s0) |
21 |
network_port(trisoap, tcp,10200,s0, udp,10200,s0) |
22 |
+network_port(trivnet1, tcp, 8200, s0, udp, 8200, s0) |
23 |
network_port(ups, tcp,3493,s0) |
24 |
network_port(utcpserver) # no defined portcon |
25 |
network_port(uucpd, tcp,540,s0) |
26 |
@@ -350,7 +351,3 @@ allow corenet_unconfined_type port_type:udp_socket { send_msg recv_msg }; |
27 |
# Bind to any network address. |
28 |
allow corenet_unconfined_type port_type:{ tcp_socket udp_socket rawip_socket } name_bind; |
29 |
allow corenet_unconfined_type node_type:{ tcp_socket udp_socket rawip_socket } node_bind; |
30 |
- |
31 |
-ifdef(`distro_gentoo',` |
32 |
-network_port(trivnet1, tcp,8200,s0, udp,8200,s0) |
33 |
-') |