Chris PeBenito ab58ad
# init rc scripts
Chris PeBenito ab58ad
ifdef(`targeted_policy', `
Chris PeBenito ab58ad
/etc/X11/prefdm              --      system_u:object_r:bin_t:s0
Chris PeBenito ab58ad
', `
Chris PeBenito ab58ad
/etc/X11/prefdm              --      system_u:object_r:initrc_exec_t:s0
Chris PeBenito ab58ad
')
Chris PeBenito ab58ad
/etc/rc\.d/rc		--	system_u:object_r:initrc_exec_t:s0
Chris PeBenito ab58ad
/etc/rc\.d/rc\.sysinit	--	system_u:object_r:initrc_exec_t:s0
Chris PeBenito ab58ad
/etc/rc\.d/rc\.local	--	system_u:object_r:initrc_exec_t:s0
Chris PeBenito ab58ad
/etc/rc\.d/init\.d/.*	--	system_u:object_r:initrc_exec_t:s0
Chris PeBenito ab58ad
/etc/rc\.d/init\.d/functions -- system_u:object_r:etc_t:s0
Chris PeBenito ab58ad
/etc/init\.d/.*		--	system_u:object_r:initrc_exec_t:s0
Chris PeBenito ab58ad
/etc/init\.d/functions	--	system_u:object_r:etc_t:s0
Chris PeBenito ab58ad
/var/run/utmp		--	system_u:object_r:initrc_var_run_t:s0
Chris PeBenito ab58ad
/var/run/runlevel\.dir		system_u:object_r:initrc_var_run_t:s0
Chris PeBenito ab58ad
/var/run/random-seed	--	system_u:object_r:initrc_var_run_t:s0
Chris PeBenito ab58ad
/var/run/setmixer_flag	--	system_u:object_r:initrc_var_run_t:s0
Chris PeBenito ab58ad
ifdef(`distro_suse', `
Chris PeBenito ab58ad
/var/run/sysconfig(/.*)?	system_u:object_r:initrc_var_run_t:s0
Chris PeBenito ab58ad
/var/run/keymap		--	system_u:object_r:initrc_var_run_t:s0
Chris PeBenito ab58ad
/var/run/numlock-on	--	system_u:object_r:initrc_var_run_t:s0
Chris PeBenito ab58ad
/var/run/setleds-on	--	system_u:object_r:initrc_var_run_t:s0
Chris PeBenito ab58ad
/var/run/bootsplashctl	-p	system_u:object_r:initrc_var_run_t:s0
Chris PeBenito ab58ad
/etc/init\.d/\.depend.*	--	system_u:object_r:etc_runtime_t:s0
Chris PeBenito ab58ad
')
Chris PeBenito ab58ad
Chris PeBenito ab58ad
ifdef(`distro_gentoo', `
Chris PeBenito ab58ad
/sbin/rc		--	system_u:object_r:initrc_exec_t:s0
Chris PeBenito ab58ad
/sbin/runscript		--      system_u:object_r:initrc_exec_t:s0
Chris PeBenito ab58ad
/sbin/runscript\.sh	--	system_u:object_r:initrc_exec_t:s0
Chris PeBenito ab58ad
/var/lib/init\.d(/.*)?		system_u:object_r:initrc_state_t:s0
Chris PeBenito ab58ad
')
Chris PeBenito ab58ad
Chris PeBenito ab58ad
# run_init
Chris PeBenito ab58ad
/usr/sbin/run_init	--	system_u:object_r:run_init_exec_t:s0
Chris PeBenito ab58ad
/usr/sbin/open_init_pty	--	system_u:object_r:initrc_exec_t:s0
Chris PeBenito ab58ad
/etc/nologin.*		--	system_u:object_r:etc_runtime_t:s0
Chris PeBenito ab58ad
/etc/nohotplug		--	system_u:object_r:etc_runtime_t:s0
Chris PeBenito ab58ad
ifdef(`distro_redhat', `
Chris PeBenito ab58ad
/halt			--	system_u:object_r:etc_runtime_t:s0
Chris PeBenito ab58ad
/fastboot 		--	system_u:object_r:etc_runtime_t:s0
Chris PeBenito ab58ad
/fsckoptions 		--	system_u:object_r:etc_runtime_t:s0
Chris PeBenito ab58ad
/forcefsck 		--	system_u:object_r:etc_runtime_t:s0
Chris PeBenito ab58ad
/poweroff		--	system_u:object_r:etc_runtime_t:s0
Chris PeBenito ab58ad
/\.autofsck		--	system_u:object_r:etc_runtime_t:s0
Chris PeBenito ab58ad
/\.autorelabel		--	system_u:object_r:etc_runtime_t:s0
Chris PeBenito ab58ad
')
Chris PeBenito ab58ad