## Fast incremental file transfer for synchronization ######################################## ## ## Make rsync an entry point for ## the specified domain. ## ## ## ## The domain for which init scripts are an entrypoint. ## ## # cjp: added for portage interface(`rsync_entry_type',` gen_require(` type rsync_exec_t; ') domain_entry_file($1, rsync_exec_t) ') ######################################## ## ## Execute a rsync in a specified domain. ## ## ##

## Execute a rsync in a specified domain. ##

##

## No interprocess communication (signals, pipes, ## etc.) is provided by this interface since ## the domains are not owned by this module. ##

##
## ## ## Domain allowed to transition. ## ## ## ## ## Domain to transition to. ## ## # cjp: added for portage interface(`rsync_entry_spec_domtrans',` gen_require(` type rsync_exec_t; ') domain_trans($1, rsync_exec_t, $2) ') ######################################## ## ## Execute a rsync in a specified domain. ## ## ##

## Execute a rsync in a specified domain. ##

##

## No interprocess communication (signals, pipes, ## etc.) is provided by this interface since ## the domains are not owned by this module. ##

##
## ## ## Domain allowed to transition. ## ## ## ## ## Domain to transition to. ## ## # cjp: added for portage interface(`rsync_entry_domtrans',` gen_require(` type rsync_exec_t; ') domain_auto_trans($1, rsync_exec_t, $2) ') ######################################## ## ## Execute rsync in the caller domain domain. ## ## ## ## Domain allowed access. ## ## ## # interface(`rsync_exec',` gen_require(` type rsync_exec_t; ') can_exec($1, rsync_exec_t) ') ######################################## ## ## Read rsync config files. ## ## ## ## Domain allowed access. ## ## # interface(`rsync_read_config',` gen_require(` type rsync_etc_t; ') allow $1 rsync_etc_t:file read_file_perms; files_search_etc($1) ') ######################################## ## ## Write to rsync config files. ## ## ## ## Domain allowed access. ## ## # interface(`rsync_write_config',` gen_require(` type rsync_etc_t; ') allow $1 rsync_etc_t:file read_file_perms; files_search_etc($1) ')