2005-05-10 19:51:00 +00:00
|
|
|
#
|
|
|
|
# /etc
|
|
|
|
#
|
2005-10-06 19:33:06 +00:00
|
|
|
/etc/rc\.d/rc -- gen_context(system_u:object_r:initrc_exec_t,s0)
|
2010-03-18 14:19:49 +00:00
|
|
|
/etc/rc\.d/rc\.[^/]+ -- gen_context(system_u:object_r:initrc_exec_t,s0)
|
2005-05-10 19:51:00 +00:00
|
|
|
|
2005-10-06 19:33:06 +00:00
|
|
|
/etc/rc\.d/init\.d/.* -- gen_context(system_u:object_r:initrc_exec_t,s0)
|
2010-03-18 14:19:49 +00:00
|
|
|
/etc/sysconfig/network-scripts/ifup-ipsec -- gen_context(system_u:object_r:initrc_exec_t,s0)
|
2005-05-10 19:51:00 +00:00
|
|
|
|
2007-10-02 16:04:50 +00:00
|
|
|
/etc/X11/prefdm -- gen_context(system_u:object_r:initrc_exec_t,s0)
|
|
|
|
|
2006-08-23 19:36:04 +00:00
|
|
|
ifdef(`distro_gentoo',`
|
|
|
|
/etc/vmware/init\.d/vmware -- gen_context(system_u:object_r:initrc_exec_t,s0)
|
2007-10-05 18:00:55 +00:00
|
|
|
/etc/x11/startDM\.sh -- gen_context(system_u:object_r:initrc_exec_t,s0)
|
2006-08-23 19:36:04 +00:00
|
|
|
')
|
|
|
|
|
2005-05-10 19:51:00 +00:00
|
|
|
#
|
|
|
|
# /dev
|
|
|
|
#
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/initctl -p gen_context(system_u:object_r:initctl_t,s0)
|
2005-05-10 19:51:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# /usr
|
|
|
|
#
|
2008-06-10 15:33:18 +00:00
|
|
|
/usr/bin/sepg_ctl -- gen_context(system_u:object_r:initrc_exec_t,s0)
|
|
|
|
|
2014-09-07 21:28:10 +00:00
|
|
|
/usr/lib/systemd/systemd -- gen_context(system_u:object_r:init_exec_t,s0)
|
2015-10-23 14:16:59 +00:00
|
|
|
/usr/lib/systemd/system-preset(/.*)? gen_context(system_u:object_r:systemd_unit_t,s0)
|
|
|
|
/usr/lib/systemd/user-preset(/.*)? gen_context(system_u:object_r:systemd_unit_t,s0)
|
|
|
|
/usr/lib/systemd/ntp-units\.d -d gen_context(system_u:object_r:systemd_unit_t,s0)
|
|
|
|
/usr/lib/systemd/system(/.*)? gen_context(system_u:object_r:systemd_unit_t,s0)
|
2014-09-07 21:28:10 +00:00
|
|
|
|
2017-02-04 20:19:35 +00:00
|
|
|
ifdef(`distro_gentoo', `
|
|
|
|
/usr/lib/rc/init\.d(/.*)? gen_context(system_u:object_r:initrc_state_t,s0)
|
|
|
|
')
|
|
|
|
|
|
|
|
|
2006-05-04 17:44:26 +00:00
|
|
|
/usr/libexec/dcc/start-.* -- gen_context(system_u:object_r:initrc_exec_t,s0)
|
|
|
|
/usr/libexec/dcc/stop-.* -- gen_context(system_u:object_r:initrc_exec_t,s0)
|
|
|
|
|
2005-10-06 19:33:06 +00:00
|
|
|
/usr/sbin/apachectl -- gen_context(system_u:object_r:initrc_exec_t,s0)
|
2016-12-27 16:06:54 +00:00
|
|
|
/usr/sbin/init(ng)? -- gen_context(system_u:object_r:init_exec_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/usr/sbin/open_init_pty -- gen_context(system_u:object_r:initrc_exec_t,s0)
|
2016-12-27 16:06:54 +00:00
|
|
|
/usr/sbin/upstart -- gen_context(system_u:object_r:init_exec_t,s0)
|
2005-05-10 19:51:00 +00:00
|
|
|
|
2017-02-04 20:19:35 +00:00
|
|
|
ifdef(`distro_gentoo', `
|
|
|
|
/usr/sbin/rc -- gen_context(system_u:object_r:rc_exec_t,s0)
|
|
|
|
')
|
|
|
|
|
2005-05-10 19:51:00 +00:00
|
|
|
#
|
|
|
|
# /var
|
|
|
|
#
|
2014-09-07 21:28:10 +00:00
|
|
|
/var/lib/systemd(/.*)? gen_context(system_u:object_r:init_var_lib_t,s0)
|
|
|
|
|
2016-12-16 20:07:56 +00:00
|
|
|
/run/initctl -p gen_context(system_u:object_r:initctl_t,s0)
|
|
|
|
/run/utmp -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
|
|
|
/run/runlevel\.dir gen_context(system_u:object_r:initrc_var_run_t,s0)
|
|
|
|
/run/random-seed -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
|
|
|
/run/setmixer_flag -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
|
|
|
/run/systemd(/.*)? gen_context(system_u:object_r:init_var_run_t,s0)
|
2005-05-10 19:51:00 +00:00
|
|
|
|
2011-11-16 20:29:18 +00:00
|
|
|
ifdef(`distro_debian',`
|
2016-12-16 20:07:56 +00:00
|
|
|
/run/hotkey-setup -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
|
|
|
/run/kdm/.* -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
2011-11-16 20:29:18 +00:00
|
|
|
')
|
|
|
|
|
2010-12-15 19:48:43 +00:00
|
|
|
ifdef(`distro_gentoo', `
|
|
|
|
/var/lib/init\.d(/.*)? gen_context(system_u:object_r:initrc_state_t,s0)
|
2016-12-16 20:07:56 +00:00
|
|
|
/run/svscan\.pid -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
2010-12-15 19:48:43 +00:00
|
|
|
')
|
|
|
|
|
2005-05-10 19:51:00 +00:00
|
|
|
ifdef(`distro_suse', `
|
2016-12-16 20:07:56 +00:00
|
|
|
/run/bootsplashctl -p gen_context(system_u:object_r:initrc_var_run_t,s0)
|
|
|
|
/run/keymap -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
|
|
|
/run/numlock-on -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
|
|
|
/run/setleds-on -- gen_context(system_u:object_r:initrc_var_run_t,s0)
|
|
|
|
/run/sysconfig(/.*)? gen_context(system_u:object_r:initrc_var_run_t,s0)
|
2005-05-10 19:51:00 +00:00
|
|
|
')
|