42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
# SELinux userland utilities
|
|
|
|
#
|
|
# /etc
|
|
#
|
|
/etc/selinux(/.*)? gen_context(system_u:object_r:selinux_config_t,s0)
|
|
|
|
/etc/selinux/([^/]*/)?contexts(/.*)? gen_context(system_u:object_r:default_context_t,s0)
|
|
|
|
/etc/selinux/([^/]*/)?contexts/files(/.*)? gen_context(system_u:object_r:file_context_t,s0)
|
|
|
|
/etc/selinux/([^/]*/)?policy(/.*)? gen_context(system_u:object_r:policy_config_t,s0)
|
|
|
|
/etc/selinux/([^/]*/)?src(/.*)? gen_context(system_u:object_r:policy_src_t,s0)
|
|
|
|
#
|
|
# /root
|
|
#
|
|
/root/\.default_contexts -- gen_context(system_u:object_r:default_context_t,s0)
|
|
|
|
#
|
|
# /sbin
|
|
#
|
|
/sbin/load_policy -- gen_context(system_u:object_r:load_policy_exec_t,s0)
|
|
/sbin/restorecon -- gen_context(system_u:object_r:restorecon_exec_t,s0)
|
|
|
|
#
|
|
# /usr
|
|
#
|
|
/usr/bin/checkpolicy -- gen_context(system_u:object_r:checkpolicy_exec_t,s0)
|
|
/usr/bin/newrole -- gen_context(system_u:object_r:newrole_exec_t,s0)
|
|
|
|
/usr/lib(64)?/selinux(/.*)? gen_context(system_u:object_r:policy_src_t,s0)
|
|
|
|
/usr/sbin/load_policy -- gen_context(system_u:object_r:load_policy_exec_t,s0)
|
|
/usr/sbin/run_init -- gen_context(system_u:object_r:run_init_exec_t,s0)
|
|
/usr/sbin/setfiles.* -- gen_context(system_u:object_r:setfiles_exec_t,s0)
|
|
|
|
ifdef(`distro_debian', `
|
|
/usr/share/selinux(/.*)? gen_context(system_u:object_r:policy_src_t,s0)
|
|
')
|