selinux-policy/refpolicy/policy/modules/system/init.fc

58 lines
1.9 KiB
Plaintext
Raw Normal View History

2005-05-10 19:51:00 +00:00
#
# /etc
#
2005-05-18 21:02:15 +00:00
/etc/init\.d/.* -- context_template(system_u:object_r:initrc_exec_t,s0)
2005-05-10 19:51:00 +00:00
2005-05-18 21:02:15 +00:00
/etc/rc\.d/rc -- context_template(system_u:object_r:initrc_exec_t,s0)
/etc/rc\.d/rc\.sysinit -- context_template(system_u:object_r:initrc_exec_t,s0)
/etc/rc\.d/rc\.local -- context_template(system_u:object_r:initrc_exec_t,s0)
2005-05-10 19:51:00 +00:00
2005-05-18 21:02:15 +00:00
/etc/rc\.d/init\.d/.* -- context_template(system_u:object_r:initrc_exec_t,s0)
2005-05-10 19:51:00 +00:00
ifdef(`targeted_policy', `', `
2005-05-18 21:02:15 +00:00
/etc/X11/prefdm -- context_template(system_u:object_r:initrc_exec_t,s0)
2005-05-10 19:51:00 +00:00
')
#
# /dev
#
2005-05-18 21:02:15 +00:00
/dev/initctl -p context_template(system_u:object_r:initctl_t,s0)
2005-05-10 19:51:00 +00:00
#
# /sbin
#
2005-05-18 21:02:15 +00:00
/sbin/init -- context_template(system_u:object_r:init_exec_t,s0)
2005-05-10 19:51:00 +00:00
ifdef(`distro_gentoo', `
2005-05-18 21:02:15 +00:00
/sbin/rc -- context_template(system_u:object_r:initrc_exec_t,s0)
/sbin/runscript -- context_template(system_u:object_r:initrc_exec_t,s0)
/sbin/runscript\.sh -- context_template(system_u:object_r:initrc_exec_t,s0)
2005-05-10 19:51:00 +00:00
')
#
# /usr
#
2005-09-29 20:59:00 +00:00
/usr/sbin/apachectl -- context_template(system_u:object_r:initrc_exec_t,s0)
2005-05-18 21:02:15 +00:00
/usr/sbin/open_init_pty -- context_template(system_u:object_r:initrc_exec_t,s0)
2005-05-10 19:51:00 +00:00
#
# /var
#
ifdef(`distro_gentoo', `
2005-05-18 21:02:15 +00:00
/var/lib/init\.d(/.*)? context_template(system_u:object_r:initrc_state_t,s0)
2005-05-10 19:51:00 +00:00
')
2005-05-18 21:02:15 +00:00
/var/run/utmp -- context_template(system_u:object_r:initrc_var_run_t,s0)
/var/run/runlevel\.dir context_template(system_u:object_r:initrc_var_run_t,s0)
/var/run/random-seed -- context_template(system_u:object_r:initrc_var_run_t,s0)
/var/run/setmixer_flag -- context_template(system_u:object_r:initrc_var_run_t,s0)
2005-05-10 19:51:00 +00:00
ifdef(`distro_suse', `
2005-09-13 13:06:07 +00:00
/var/run/bootsplashctl -p context_template(system_u:object_r:initrc_var_run_t,s0)
2005-05-18 21:02:15 +00:00
/var/run/keymap -- context_template(system_u:object_r:initrc_var_run_t,s0)
/var/run/numlock-on -- context_template(system_u:object_r:initrc_var_run_t,s0)
2005-09-13 13:06:07 +00:00
/var/run/setleds-on -- context_template(system_u:object_r:initrc_var_run_t,s0)
/var/run/sysconfig(/.*)? context_template(system_u:object_r:initrc_var_run_t,s0)
2005-05-10 19:51:00 +00:00
')