Blame policy/modules/admin/mcelog.te
|
Jeremy Solt |
148415 |
|
|
Jeremy Solt |
148415 |
policy_module(mcelog,1.0.0)
|
|
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 |
|
|
Jeremy Solt |
148415 |
logging_send_syslog_msg(mcelog_t)
|
|
Jeremy Solt |
148415 |
|
|
Jeremy Solt |
148415 |
miscfiles_read_localization(mcelog_t)
|