From 320ea9833048cdfc2e00459ee1696688af3cd840 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Jan 17 2008 15:28:24 +0000 Subject: trunk: add 3rd party corenet interfaces for (secmark) packets. --- diff --git a/policy/modules/kernel/corenetwork.if.in b/policy/modules/kernel/corenetwork.if.in index a24cfb0..7dfaa8d 100644 --- a/policy/modules/kernel/corenetwork.if.in +++ b/policy/modules/kernel/corenetwork.if.in @@ -12,9 +12,8 @@ ## Define type to be a network port type ##

##

-## This is a template to support third party modules -## and its use is not allowed in upstream reference -## policy. +## This is for supporting third party modules and its +## use is not allowed in upstream reference policy. ##

## ## @@ -40,9 +39,8 @@ interface(`corenet_port',` ## Define network type to be a reserved port (lt 1024) ##

##

-## This is a template to support third party modules -## and its use is not allowed in upstream reference -## policy. +## This is for supporting third party modules and its +## use is not allowed in upstream reference policy. ##

## ## @@ -68,9 +66,8 @@ interface(`corenet_reserved_port',` ## Define network type to be a rpc port ( 512 lt PORT lt 1024) ##

##

-## This is a template to support third party modules -## and its use is not allowed in upstream reference -## policy. +## This is for supporting third party modules and its +## use is not allowed in upstream reference policy. ##

## ## @@ -89,6 +86,60 @@ interface(`corenet_rpc_port',` ######################################## ## +## Define type to be a network client packet type +## +## +##

+## Define type to be a network client packet type +##

+##

+## This is for supporting third party modules and its +## use is not allowed in upstream reference policy. +##

+##
+## +## +## Type to be used for a network client packet. +## +## +# +interface(`corenet_client_packet',` + gen_require(` + attribute packet_type, client_packet_type; + ') + + typeattribute $1 client_packet_type, packet_type; +') + +######################################## +## +## Define type to be a network server packet type +## +## +##

+## Define type to be a network server packet type +##

+##

+## This is for supporting third party modules and its +## use is not allowed in upstream reference policy. +##

+##
+## +## +## Type to be used for a network server packet. +## +## +# +interface(`corenet_server_packet',` + gen_require(` + attribute packet_type, server_packet_type; + ') + + typeattribute $1 server_packet_type, packet_type; +') + +######################################## +## ## Send and receive TCP network traffic on the generic interfaces. ## ## diff --git a/policy/modules/kernel/corenetwork.te.in b/policy/modules/kernel/corenetwork.te.in index 8b6ee1b..a181185 100644 --- a/policy/modules/kernel/corenetwork.te.in +++ b/policy/modules/kernel/corenetwork.te.in @@ -1,5 +1,5 @@ -policy_module(corenetwork,1.2.14) +policy_module(corenetwork,1.2.15) ######################################## #