fix up cron_crw_tcp_socket()

This commit is contained in:
Chris PeBenito 2006-02-20 14:31:45 +00:00
parent b9e6c42b9c
commit e1ee92b290
2 changed files with 4 additions and 5 deletions

View File

@ -434,7 +434,7 @@ interface(`cron_rw_pipes',`
########################################
## <summary>
## Create, read, and write a cron daemon TCP socket.
## Read, and write cron daemon TCP sockets.
## </summary>
## <param name="domain">
## <summary>
@ -442,13 +442,12 @@ interface(`cron_rw_pipes',`
## </summary>
## </param>
#
# cjp: need to fix this name
interface(`cron_crw_tcp_socket',`
interface(`cron_rw_tcp_sockets',`
gen_require(`
type crond_t;
')
allow $1 crond_t:tcp_socket { create read write };
allow $1 crond_t:tcp_socket { read write };
')
########################################

View File

@ -157,7 +157,7 @@ optional_policy(`postfix',`
')
optional_policy(`cron',`
cron_crw_tcp_socket(system_mail_t)
cron_rw_tcp_sockets(system_mail_t)
')
')