selinux-policy/policy/modules/services/portmap.if

90 lines
1.9 KiB
Plaintext
Raw Normal View History

2005-09-08 17:12:38 +00:00
## <summary>RPC port mapping service.</summary>
########################################
## <summary>
## Execute portmap_helper in the helper domain.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed to transition.
## </summary>
2005-09-08 17:12:38 +00:00
## </param>
#
interface(`portmap_domtrans_helper',`
gen_require(`
type portmap_helper_t, portmap_helper_exec_t;
')
corecmd_search_bin($1)
domtrans_pattern($1, portmap_helper_exec_t, portmap_helper_t)
2005-09-08 17:12:38 +00:00
')
########################################
## <summary>
## Execute portmap helper in the helper domain, and
## allow the specified role the helper domain.
## Communicate with portmap.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed to transition.
## </summary>
2005-09-08 17:12:38 +00:00
## </param>
## <param name="role">
## <summary>
## Role allowed access.
## </summary>
2005-09-08 17:12:38 +00:00
## </param>
2006-09-06 22:07:25 +00:00
## <rolecap/>
2005-09-08 17:12:38 +00:00
#
interface(`portmap_run_helper',`
gen_require(`
2005-10-19 14:36:04 +00:00
type portmap_t, portmap_helper_t;
2005-09-08 17:12:38 +00:00
')
portmap_domtrans_helper($1)
role $2 types portmap_helper_t;
')
########################################
## <summary>
2006-08-15 20:00:58 +00:00
## Send UDP network traffic to portmap. (Deprecated)
2005-09-08 17:12:38 +00:00
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
2005-09-08 17:12:38 +00:00
## </param>
#
2006-02-02 21:08:12 +00:00
interface(`portmap_udp_send',`
2006-08-15 20:00:58 +00:00
refpolicywarn(`$0($*) has been deprecated.')
2005-09-08 17:12:38 +00:00
')
2005-10-24 01:53:13 +00:00
########################################
## <summary>
2006-08-15 20:00:58 +00:00
## Send and receive UDP network traffic from portmap. (Deprecated)
2005-10-24 01:53:13 +00:00
## </summary>
## <param name="domain">
## <summary>
2005-10-24 01:53:13 +00:00
## Domain allowed access.
## </summary>
2005-10-24 01:53:13 +00:00
## </param>
#
2006-02-02 21:08:12 +00:00
interface(`portmap_udp_chat',`
2006-08-15 20:00:58 +00:00
refpolicywarn(`$0($*) has been deprecated.')
2005-10-24 01:53:13 +00:00
')
########################################
## <summary>
2006-08-15 20:00:58 +00:00
## Connect to portmap over a TCP socket (Deprecated)
2005-10-24 01:53:13 +00:00
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
2005-10-24 01:53:13 +00:00
## </param>
#
interface(`portmap_tcp_connect',`
2006-08-15 20:00:58 +00:00
refpolicywarn(`$0($*) has been deprecated.')
2005-10-24 01:53:13 +00:00
')