Zebra patch from Dan Walsh.

This commit is contained in:
Chris PeBenito 2010-03-19 15:45:25 -04:00
parent bc31d12725
commit bed0a44560
2 changed files with 22 additions and 2 deletions

View File

@ -22,6 +22,26 @@ interface(`zebra_read_config',`
read_lnk_files_pattern($1, zebra_conf_t, zebra_conf_t) read_lnk_files_pattern($1, zebra_conf_t, zebra_conf_t)
') ')
########################################
## <summary>
## Connect to zebra over an unix stream socket.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`zebra_stream_connect',`
gen_require(`
type zebra_t, zebra_var_run_t;
')
files_search_pids($1)
allow $1 zebra_var_run_t:sock_file write;
allow $1 zebra_t:unix_stream_socket connectto;
')
######################################## ########################################
## <summary> ## <summary>
## All of the rules required to administrate ## All of the rules required to administrate

View File

@ -1,5 +1,5 @@
policy_module(zebra, 1.10.0) policy_module(zebra, 1.10.1)
######################################## ########################################
# #