semanage_port - Online Linux Manual PageSection : 3
Updated : 16 March 2006
Source : ivg2@cornell.edu
Note : Libsemanage API documentation

NAMEsemanage_port − SELinux Network Ports Management API

SYNOPSIS#include <semanage/port_record.h>
#include <semanage/ports_policy.h>
#include <semanage/ports_local.h> This object contains properties associated with a range of network ports. For details on a specific function, see its manual page.

Record API Overviewsemanage_port_create(3)
create a port range
semanage_port_free(3)
release resources for this port range
semanage_port_key_create(3)
create a key, which can be used to identify a port range
semanage_port_key_free(3)
release resources for this port range key
semanage_port_key_extract(3)
create a key matching this port range
semanage_port_clone(3)
create an identical port range (deep-copy clone)
semanage_port_compare(3)
compare this port range to the provided key
semanage_port_compare2(3)
compare this port range to another

Properties API Overviewsemanage_port_get_proto(3)
return the protocol for this port range
semanage_port_get_proto_str(3)
return a string representation of the given port protocol
semanage_port_set_proto(3)
set the protocol for this port range
semanage_port_get_low(3)
return the low port number for this port range
semanage_port_get_high(3)
return the high port number for this port range
semanage_port_set_port(3)
set the port number (same low and high) for this port range
semanage_port_set_range(3)
set the low and high port number for this port range
semanage_port_get_con(3)
return the SELinux context for this port range
semanage_port_set_con(3)
set the SELinux context for this port range

Record Store API Overviewsemanage_port_modify_local(3)"
add or update a port range in the local store
semanage_port_del_local(3)"
delete a port range from the local store
semanage_port_exists(3)"
check if a port range is defined in the persistent policy
semanage_port_exists_local(3)"
check if a port range is defined in the local store
semanage_port_query(3)"
query a port range in the persistent policy
semanage_port_query_local(3)"
query a port range in the local store
semanage_port_count(3)"
count the number of port ranges defined in the persistent policy
semanage_port_count_local(3)"
count the number of port ranges defined in the local store
semanage_port_iterate(3)"
execute a callback for each port range in the persistent policy
semanage_port_iterate_local(3)"
execute a callback for each port range in the local store
semanage_port_list(3)"
return an array containing all port ranges in the persistent policy
semanage_port_list_local(3)"
return an array containing all port ranges in the local store
0
Johanes Gumabo
Data Size   :   14,312 byte
man-semanage_port.3Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 258,322
Visitor ID   :     :  
Visitor IP   :   18.119.157.233   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.