Blame policy/modules/admin/mcelog.te
|
Chris PeBenito |
e89f04 |
policy_module(mcelog, 1.0.1)
|
|
Jeremy Solt |
148415 |
|
|
Jeremy Solt |
148415 |
########################################
|
|
Jeremy Solt |
148415 |
#
|
|
Jeremy Solt |
148415 |
# Declarations
|
|
Jeremy Solt |
148415 |
#
|
|
Jeremy Solt |
148415 |
|
|
Jeremy Solt |
148415 |
type mcelog_t;
|
|
Jeremy Solt |
148415 |
type mcelog_exec_t;
|
|
Jeremy Solt |
148415 |
application_domain(mcelog_t, mcelog_exec_t)
|
|
Jeremy Solt |
148415 |
cron_system_entry(mcelog_t, mcelog_exec_t)
|
|
Jeremy Solt |
148415 |
|
|
Jeremy Solt |
148415 |
########################################
|
|
Jeremy Solt |
148415 |
#
|
|
Jeremy Solt |
148415 |
# mcelog local policy
|
|
Jeremy Solt |
148415 |
#
|
|
Jeremy Solt |
148415 |
|
|
Jeremy Solt |
148415 |
allow mcelog_t self:capability sys_admin;
|
|
Jeremy Solt |
148415 |
|
|
Jeremy Solt |
148415 |
kernel_read_system_state(mcelog_t)
|
|
Jeremy Solt |
148415 |
|
|
Jeremy Solt |
148415 |
dev_read_raw_memory(mcelog_t)
|
|
Jeremy Solt |
148415 |
dev_read_kmsg(mcelog_t)
|
|
Jeremy Solt |
148415 |
|
|
Jeremy Solt |
148415 |
files_read_etc_files(mcelog_t)
|
|
Jeremy Solt |
148415 |
|
|
Chris PeBenito |
e89f04 |
# for /dev/mem access
|
|
Chris PeBenito |
e89f04 |
mls_file_read_all_levels(mcelog_t)
|
|
Chris PeBenito |
e89f04 |
|
|
Jeremy Solt |
148415 |
logging_send_syslog_msg(mcelog_t)
|
|
Jeremy Solt |
148415 |
|
|
Jeremy Solt |
148415 |
miscfiles_read_localization(mcelog_t)
|