|
Chris PeBenito |
a5ef55 |
## <summary>Reserve well-known ports in the RPC port range.</summary>
|
|
Chris PeBenito |
a5ef55 |
|
|
Chris PeBenito |
a5ef55 |
########################################
|
|
Chris PeBenito |
a5ef55 |
## <summary>
|
|
Chris PeBenito |
a5ef55 |
## Execute a domain transition to run portreserve.
|
|
Chris PeBenito |
a5ef55 |
## </summary>
|
|
Chris PeBenito |
a5ef55 |
## <param name="domain">
|
|
Chris PeBenito |
a5ef55 |
## <summary>
|
|
Chris PeBenito |
a5ef55 |
## Domain allowed to transition.
|
|
Chris PeBenito |
a5ef55 |
## </summary>
|
|
Chris PeBenito |
a5ef55 |
## </param>
|
|
Chris PeBenito |
a5ef55 |
#
|
|
Chris PeBenito |
a5ef55 |
interface(`portreserve_domtrans',`
|
|
Chris PeBenito |
a5ef55 |
gen_require(`
|
|
Chris PeBenito |
a5ef55 |
type portreserve_t, portreserve_exec_t;
|
|
Chris PeBenito |
a5ef55 |
')
|
|
Chris PeBenito |
a5ef55 |
|
|
Chris PeBenito |
a5ef55 |
domtrans_pattern($1, portreserve_exec_t, portreserve_t)
|
|
Chris PeBenito |
a5ef55 |
')
|
|
Chris PeBenito |
a5ef55 |
|
|
Chris PeBenito |
a5ef55 |
#######################################
|
|
Chris PeBenito |
a5ef55 |
## <summary>
|
|
Chris PeBenito |
a5ef55 |
## Allow the specified domain to read
|
|
Chris PeBenito |
a5ef55 |
## portreserve etcuration files.
|
|
Chris PeBenito |
a5ef55 |
## </summary>
|
|
Chris PeBenito |
a5ef55 |
## <param name="domain">
|
|
Chris PeBenito |
a5ef55 |
## <summary>
|
|
Chris PeBenito |
a5ef55 |
## Domain allowed access.
|
|
Chris PeBenito |
a5ef55 |
## </summary>
|
|
Chris PeBenito |
a5ef55 |
## </param>
|
|
Chris PeBenito |
a5ef55 |
## <rolecap/>
|
|
Chris PeBenito |
a5ef55 |
##
|
|
Chris PeBenito |
a5ef55 |
#
|
|
Chris PeBenito |
a5ef55 |
interface(`portreserve_read_config',`
|
|
Chris PeBenito |
a5ef55 |
gen_require(`
|
|
Chris PeBenito |
a5ef55 |
type portreserve_etc_t;
|
|
Chris PeBenito |
a5ef55 |
')
|
|
Chris PeBenito |
a5ef55 |
|
|
Chris PeBenito |
a5ef55 |
files_search_etc($1)
|
|
Chris PeBenito |
a5ef55 |
allow $1 portreserve_etc_t:dir list_dir_perms;
|
|
Chris PeBenito |
a5ef55 |
read_files_pattern($1, portreserve_etc_t, portreserve_etc_t)
|
|
Chris PeBenito |
a5ef55 |
read_lnk_files_pattern($1, portreserve_etc_t, portreserve_etc_t)
|
|
Chris PeBenito |
a5ef55 |
')
|
|
Chris PeBenito |
a5ef55 |
|
|
Chris PeBenito |
a5ef55 |
#######################################
|
|
Chris PeBenito |
a5ef55 |
## <summary>
|
|
Chris PeBenito |
a5ef55 |
## Allow the specified domain to manage
|
|
Chris PeBenito |
a5ef55 |
## portreserve etcuration files.
|
|
Chris PeBenito |
a5ef55 |
## </summary>
|
|
Chris PeBenito |
a5ef55 |
## <param name="domain">
|
|
Chris PeBenito |
a5ef55 |
## <summary>
|
|
Chris PeBenito |
a5ef55 |
## Domain allowed access.
|
|
Chris PeBenito |
a5ef55 |
## </summary>
|
|
Chris PeBenito |
a5ef55 |
## </param>
|
|
Chris PeBenito |
a5ef55 |
##
|
|
Chris PeBenito |
a5ef55 |
#
|
|
Chris PeBenito |
a5ef55 |
interface(`portreserve_manage_config',`
|
|
Chris PeBenito |
a5ef55 |
gen_require(`
|
|
Chris PeBenito |
a5ef55 |
type portreserve_etc_t;
|
|
Chris PeBenito |
a5ef55 |
')
|
|
Chris PeBenito |
a5ef55 |
|
|
Chris PeBenito |
a5ef55 |
files_search_etc($1)
|
|
Chris PeBenito |
a5ef55 |
manage_dirs_pattern($1, portreserve_etc_t, portreserve_etc_t)
|
|
Chris PeBenito |
a5ef55 |
manage_files_pattern($1, portreserve_etc_t, portreserve_etc_t)
|
|
Chris PeBenito |
a5ef55 |
read_lnk_files_pattern($1, portreserve_etc_t, portreserve_etc_t)
|
|
Chris PeBenito |
a5ef55 |
')
|