aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Trentalancia <guido@trentalancia.net>2017-04-29 20:18:15 +0200
committerJason Zaman <jason@perfinion.com>2017-05-07 23:54:42 +0800
commit90bc58d30413ce90fc5f6b86da4114f539d374f0 (patch)
treee215249736bc586ccf2047806fc33b2701e91604
parentplymouth: pid interface usability (diff)
downloadhardened-refpolicy-90bc58d3.tar.gz
hardened-refpolicy-90bc58d3.tar.bz2
hardened-refpolicy-90bc58d3.zip
shutdown: send msg to syslog
Update the shutdown module so that it can send messages to syslog. Signed-off-by: Guido Trentalancia <guido@trentalancia.net>
-rw-r--r--policy/modules/contrib/shutdown.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/policy/modules/contrib/shutdown.te b/policy/modules/contrib/shutdown.te
index 6a0b126e..4a2b3510 100644
--- a/policy/modules/contrib/shutdown.te
+++ b/policy/modules/contrib/shutdown.te
@@ -42,6 +42,8 @@ domain_use_interactive_fds(shutdown_t)
files_delete_boot_flag(shutdown_t)
files_read_generic_pids(shutdown_t)
+fs_getattr_xattr_fs(shutdown_t)
+
mls_file_write_to_clearance(shutdown_t)
term_use_all_terms(shutdown_t)
@@ -55,6 +57,7 @@ init_telinit(shutdown_t)
logging_search_logs(shutdown_t)
logging_send_audit_msgs(shutdown_t)
+logging_send_syslog_msg(shutdown_t)
miscfiles_read_localization(shutdown_t)