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

42 lines
1.3 KiB
Plaintext
Raw Normal View History

2005-05-10 19:51:00 +00:00
# Copyright (C) 2005 Tresys Technology, LLC
#
# /etc
#
2005-05-18 21:02:15 +00:00
/etc/selinux(/.*)? context_template(system_u:object_r:selinux_config_t,s0)
2005-05-10 19:51:00 +00:00
2005-05-18 21:02:15 +00:00
/etc/selinux/([^/]*/)?contexts(/.*)? context_template(system_u:object_r:default_context_t,s0)
2005-05-10 19:51:00 +00:00
2005-05-18 21:02:15 +00:00
/etc/selinux/([^/]*/)?contexts/files(/.*)? context_template(system_u:object_r:file_context_t,s0)
2005-05-10 19:51:00 +00:00
2005-05-18 21:02:15 +00:00
/etc/selinux/([^/]*/)?policy(/.*)? context_template(system_u:object_r:policy_config_t,s0)
2005-05-10 19:51:00 +00:00
2005-05-18 21:02:15 +00:00
/etc/selinux/([^/]*/)?src(/.*)? context_template(system_u:object_r:policy_src_t,s0)
2005-05-10 19:51:00 +00:00
#
# /root
#
2005-05-18 21:02:15 +00:00
/root/\.default_contexts -- context_template(system_u:object_r:default_context_t,s0)
2005-05-10 19:51:00 +00:00
#
# /sbin
#
2005-05-18 21:02:15 +00:00
/sbin/load_policy -- context_template(system_u:object_r:load_policy_exec_t,s0)
/sbin/restorecon -- context_template(system_u:object_r:restorecon_exec_t,s0)
2005-05-10 19:51:00 +00:00
#
# /usr
#
2005-05-18 21:02:15 +00:00
/usr/bin/checkpolicy -- context_template(system_u:object_r:checkpolicy_exec_t,s0)
/usr/bin/newrole -- context_template(system_u:object_r:newrole_exec_t,s0)
2005-05-10 19:51:00 +00:00
2005-05-18 21:02:15 +00:00
/usr/lib(64)?/selinux(/.*)? context_template(system_u:object_r:policy_src_t,s0)
2005-05-10 19:51:00 +00:00
2005-05-18 21:02:15 +00:00
/usr/sbin/load_policy -- context_template(system_u:object_r:load_policy_exec_t,s0)
/usr/sbin/run_init -- context_template(system_u:object_r:run_init_exec_t,s0)
/usr/sbin/setfiles.* -- context_template(system_u:object_r:setfiles_exec_t,s0)
2005-05-10 19:51:00 +00:00
ifdef(`distro_debian', `
2005-05-18 21:02:15 +00:00
/usr/share/selinux(/.*)? context_template(system_u:object_r:policy_src_t,s0)
2005-05-10 19:51:00 +00:00
')