Chris PeBenito 57f233b
# backup
Chris PeBenito 57f233b
# label programs that do backups to other files on disk (IE a cron job that
Chris PeBenito 57f233b
# calls tar) in backup_exec_t and label the directory for storing them as
Chris PeBenito 57f233b
# backup_store_t, Debian uses /var/backups
Chris PeBenito 57f233b
Chris PeBenito bf2f29a
#/usr/local/bin/backup-script	--	gen_context(system_u:object_r:backup_exec_t,s0)
Chris PeBenito 45b56b0
Chris PeBenito 45b56b0
ifdef(`distro_debian',`
Chris PeBenito 45b56b0
/etc/cron.daily/aptitude	--	gen_context(system_u:object_r:backup_exec_t,s0)
Chris PeBenito 45b56b0
/etc/cron.daily/standard	--	gen_context(system_u:object_r:backup_exec_t,s0)
Chris PeBenito 45b56b0
')
Chris PeBenito 45b56b0
Chris PeBenito bf2f29a
/var/backups(/.*)?			gen_context(system_u:object_r:backup_store_t,s0)