--- /usr/src/se/policy/macros/network_macros.te 2004-11-25 06:44:37.000000000 +1100 +++ macros/network_macros.te 2004-12-25 12:26:30.000000000 +1100 @@ -79,11 +79,12 @@ # Permissions for accessing the network. # See types/network.te for the network types. # See net_contexts for security contexts for network entities. +# Combination of can_network_client_tcp() and can_network_server_tcp() # define(`can_network_tcp',` can_network_server_tcp($1, `$2') -can_network_client_tcp($1, `$2') +allow $1 self:tcp_socket { connect }; ')