selinux-policy/strict/domains/program/uucpd.te
Chris PeBenito 6859519ede move in uucp
2005-09-22 19:05:14 +00:00

25 lines
612 B
Plaintext

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