Blame targeted/domains/program/rsync.te
|
Chris PeBenito |
ab58ad |
#DESC rsync - flexible replacement for rcp
|
|
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 rsync_t domain.
|
|
Chris PeBenito |
ab58ad |
#
|
|
Chris PeBenito |
ab58ad |
# rsync_exec_t is the type of the rsync executable.
|
|
Chris PeBenito |
ab58ad |
#
|
|
Chris PeBenito |
ab58ad |
|
|
Chris PeBenito |
ab58ad |
inetd_child_domain(rsync)
|
|
Chris PeBenito |
ab58ad |
type rsync_data_t, file_type, sysadmfile;
|
|
Chris PeBenito |
ab58ad |
r_dir_file(rsync_t, rsync_data_t)
|
|
Chris PeBenito |
ab58ad |
anonymous_domain(rsync)
|
|
Chris PeBenito |
ab58ad |
allow rsync_t self:capability sys_chroot;
|