summaryrefslogtreecommitdiff
path: root/policy/modules/services/cron.fc
blob: 969629e370016a11e574d16c712b23b90c28def0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

/etc/cron\.d(/.*)?			gen_context(system_u:object_r:system_cron_spool_t,s0)
/etc/crontab			--	gen_context(system_u:object_r:system_cron_spool_t,s0)

/usr/bin/at			--	gen_context(system_u:object_r:crontab_exec_t,s0)
/usr/bin/(f)?crontab		--	gen_context(system_u:object_r:crontab_exec_t,s0)

/usr/sbin/anacron		--	gen_context(system_u:object_r:anacron_exec_t,s0)
/usr/sbin/atd			--	gen_context(system_u:object_r:crond_exec_t,s0)
/usr/sbin/cron(d)?		--	gen_context(system_u:object_r:crond_exec_t,s0)
/usr/sbin/fcron			--	gen_context(system_u:object_r:crond_exec_t,s0)

/var/run/anacron\.pid		--	gen_context(system_u:object_r:crond_var_run_t,s0)
/var/run/atd\.pid		--	gen_context(system_u:object_r:crond_var_run_t,s0)
/var/run/crond?\.pid		--	gen_context(system_u:object_r:crond_var_run_t,s0)
/var/run/crond\.reboot		--	gen_context(system_u:object_r:crond_var_run_t,s0)
/var/run/fcron\.fifo		-s	gen_context(system_u:object_r:crond_var_run_t,s0)
/var/run/fcron\.pid		--	gen_context(system_u:object_r:crond_var_run_t,s0)

/var/spool/at			-d	gen_context(system_u:object_r:cron_spool_t,s0)
/var/spool/at/spool		-d	gen_context(system_u:object_r:cron_spool_t,s0)
/var/spool/at/[^/]*		--	<<none>>

/var/spool/cron			-d	gen_context(system_u:object_r:cron_spool_t,s0)
#/var/spool/cron/root		--	gen_context(system_u:object_r:sysadm_cron_spool_t,s0)
/var/spool/cron/[^/]*		--	<<none>>

ifdef(`distro_gentoo',`
/var/spool/cron/lastrun		-d	gen_context(system_u:object_r:crond_tmp_t,s0)
/var/spool/cron/lastrun/[^/]*	--	<<none>>
')

ifdef(`distro_suse', `
/var/spool/cron/lastrun		-d	gen_context(system_u:object_r:crond_tmp_t,s0)
/var/spool/cron/lastrun/[^/]*	--	<<none>>
/var/spool/cron/tabs		-d	gen_context(system_u:object_r:cron_spool_t,s0)
')

/var/spool/cron/crontabs 	-d	gen_context(system_u:object_r:cron_spool_t,s0)
/var/spool/cron/crontabs/.*	--	<<none>>
#/var/spool/cron/crontabs/root	--	gen_context(system_u:object_r:sysadm_cron_spool_t,s0)

/var/spool/fcron		-d	gen_context(system_u:object_r:cron_spool_t,s0)
/var/spool/fcron/[^/]*			<<none>>
/var/spool/fcron/systab\.orig	--	gen_context(system_u:object_r:system_cron_spool_t,s0)
/var/spool/fcron/systab		--	gen_context(system_u:object_r:system_cron_spool_t,s0)
/var/spool/fcron/new\.systab	--	gen_context(system_u:object_r:system_cron_spool_t,s0)