Chris PeBenito ab58ad
#DESC uucpd - UUCP file transfer daemon
Chris PeBenito ab58ad
#
Chris PeBenito ab58ad
# Author:  Dan Walsh <dwalsh@redhat.com>
Chris PeBenito ab58ad
#
Chris PeBenito ab58ad
# Depends: inetd.te
Chris PeBenito ab58ad
Chris PeBenito ab58ad
#################################
Chris PeBenito ab58ad
#
Chris PeBenito ab58ad
# Rules for the uucpd_t domain.
Chris PeBenito ab58ad
#
Chris PeBenito ab58ad
# uucpd_exec_t is the type of the uucpd executable.
Chris PeBenito ab58ad
#
Chris PeBenito ab58ad
Chris PeBenito ab58ad
inetd_child_domain(uucpd, tcp)
Chris PeBenito ab58ad
type uucpd_rw_t, file_type, sysadmfile;
Chris PeBenito ab58ad
type uucpd_ro_t, file_type, sysadmfile;
Chris PeBenito ab58ad
type uucpd_spool_t, file_type, sysadmfile;
Chris PeBenito ab58ad
create_dir_file(uucpd_t, uucpd_rw_t)
Chris PeBenito ab58ad
r_dir_file(uucpd_t, uucpd_ro_t)
Chris PeBenito ab58ad
allow uucpd_t sbin_t:dir search;
Chris PeBenito ab58ad
can_exec(uucpd_t, sbin_t)
Chris PeBenito ab58ad
logdir_domain(uucpd)
Chris PeBenito ab58ad
allow uucpd_t var_spool_t:dir search;
Chris PeBenito ab58ad
create_dir_file(uucpd_t, uucpd_spool_t)