Oreon-Lime-R2/selinux-policy/selinux-policy-d9f4a2b/selinux-policy-d9f4a2bbeb91fd95d0c35a90936efb9ea99d2455/policy/modules/contrib/nsd.if

49 lines
966 B
Text
Raw Permalink Normal View History

## <summary>Authoritative only name server</summary>
########################################
## <summary>
## Read NSD pid file.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`nsd_read_pid',`
gen_require(`
type nsd_var_run_t;
')
files_search_pids($1)
read_files_pattern($1, nsd_var_run_t, nsd_var_run_t)
')
########################################
## <summary>
## Send and receive datagrams from NSD. (Deprecated)
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`nsd_udp_chat',`
refpolicywarn(`$0($*) has been deprecated.')
')
########################################
## <summary>
## Connect to NSD over a TCP socket (Deprecated)
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`nsd_tcp_connect',`
refpolicywarn(`$0($*) has been deprecated.')
')