Chris PeBenito f8ec0a
Chris PeBenito f8ec0a
#
Chris PeBenito f8ec0a
# /
Chris PeBenito f8ec0a
#
Chris PeBenito f8ec0a
ifdef(`distro_redhat', `
Chris PeBenito bee546
/\.autofsck		--	context_template(system_u:object_r:etc_runtime_t,s0)
Chris PeBenito bee546
/halt			--	context_template(system_u:object_r:etc_runtime_t,s0)
Chris PeBenito f8ec0a
')
Chris PeBenito f8ec0a
Chris PeBenito f8ec0a
#
Chris PeBenito f8ec0a
# /etc
Chris PeBenito f8ec0a
#
Chris PeBenito bee546
/etc/init\.d/.*		--	context_template(system_u:object_r:initrc_exec_t,s0)
Chris PeBenito f8ec0a
Chris PeBenito bee546
/etc/rc\.d/rc		--	context_template(system_u:object_r:initrc_exec_t,s0)
Chris PeBenito bee546
/etc/rc\.d/rc\.sysinit	--	context_template(system_u:object_r:initrc_exec_t,s0)
Chris PeBenito bee546
/etc/rc\.d/rc\.local	--	context_template(system_u:object_r:initrc_exec_t,s0)
Chris PeBenito f8ec0a
Chris PeBenito bee546
/etc/rc\.d/init\.d/.*	--	context_template(system_u:object_r:initrc_exec_t,s0)
Chris PeBenito f8ec0a
Chris PeBenito f8ec0a
ifdef(`targeted_policy', `', `
Chris PeBenito bee546
/etc/X11/prefdm		--	context_template(system_u:object_r:initrc_exec_t,s0)
Chris PeBenito f8ec0a
')
Chris PeBenito f8ec0a
Chris PeBenito f8ec0a
#
Chris PeBenito f8ec0a
# /dev
Chris PeBenito f8ec0a
#
Chris PeBenito bee546
/dev/initctl		-p	context_template(system_u:object_r:initctl_t,s0)
Chris PeBenito f8ec0a
Chris PeBenito f8ec0a
#
Chris PeBenito f8ec0a
# /sbin
Chris PeBenito f8ec0a
#
Chris PeBenito bee546
/sbin/init		--	context_template(system_u:object_r:init_exec_t,s0)
Chris PeBenito f8ec0a
ifdef(`distro_gentoo', `
Chris PeBenito bee546
/sbin/rc		--	context_template(system_u:object_r:initrc_exec_t,s0)
Chris PeBenito bee546
/sbin/runscript		--      context_template(system_u:object_r:initrc_exec_t,s0)
Chris PeBenito bee546
/sbin/runscript\.sh	--	context_template(system_u:object_r:initrc_exec_t,s0)
Chris PeBenito f8ec0a
')
Chris PeBenito f8ec0a
Chris PeBenito f8ec0a
#
Chris PeBenito f8ec0a
# /usr
Chris PeBenito f8ec0a
#
Chris PeBenito bee546
/usr/sbin/open_init_pty	--	context_template(system_u:object_r:initrc_exec_t,s0)
Chris PeBenito f8ec0a
Chris PeBenito f8ec0a
#
Chris PeBenito f8ec0a
# /var
Chris PeBenito f8ec0a
#
Chris PeBenito f8ec0a
ifdef(`distro_gentoo', `
Chris PeBenito bee546
/var/lib/init\.d(/.*)?		context_template(system_u:object_r:initrc_state_t,s0)
Chris PeBenito f8ec0a
')
Chris PeBenito f8ec0a
Chris PeBenito bee546
/var/run/utmp		--	context_template(system_u:object_r:initrc_var_run_t,s0)
Chris PeBenito bee546
/var/run/runlevel\.dir		context_template(system_u:object_r:initrc_var_run_t,s0)
Chris PeBenito bee546
/var/run/random-seed	--	context_template(system_u:object_r:initrc_var_run_t,s0)
Chris PeBenito bee546
/var/run/setmixer_flag	--	context_template(system_u:object_r:initrc_var_run_t,s0)
Chris PeBenito f8ec0a
Chris PeBenito f8ec0a
ifdef(`distro_suse', `
Chris PeBenito bee546
/var/run/sysconfig(/.*)?	context_template(system_u:object_r:initrc_var_run_t,s0)
Chris PeBenito bee546
/var/run/keymap		--	context_template(system_u:object_r:initrc_var_run_t,s0)
Chris PeBenito bee546
/var/run/numlock-on	--	context_template(system_u:object_r:initrc_var_run_t,s0)
Chris PeBenito f8ec0a
')
Chris PeBenito f8ec0a