From c907b3e2c769dc1f8019a9a09a8cbf85a9cbe5b0 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Tue, 24 May 2005 17:34:29 +0000 Subject: [PATCH] cleanup for corenetwork interface generation --- refpolicy/policy/modules/kernel/corenetwork.if | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/refpolicy/policy/modules/kernel/corenetwork.if b/refpolicy/policy/modules/kernel/corenetwork.if index 68ea75de..8d9c27f0 100644 --- a/refpolicy/policy/modules/kernel/corenetwork.if +++ b/refpolicy/policy/modules/kernel/corenetwork.if @@ -2,6 +2,7 @@ ## ## Policy controlling access to network objects +ifdef(`interface_pass',`',` ####################################### # # corenetwork_network_tcp_on_general_interface(domain) @@ -784,6 +785,7 @@ attribute reserved_port_type; class udp_socket name_bind; ') +') dnl end if not interface_pass ######################################## # # This section is processed through m4 to create real interfaces @@ -1315,4 +1317,6 @@ declare_ports($1_port_t,shift($*)) ') ') +ifdef(`interface_pass',`',` ## +')