Skip to contentSkip to conversation

shutdown: send msg to syslog

PATCH New Guido Trentalancia 1 participant 1 message Apr 29, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 7/7 shutdown: send msg to syslog

Update the shutdown module so that it can send messages to syslog.

---
 policy/modules/contrib/shutdown.te |    3 +++
 1 file changed, 3 insertions(+)
policy/modules/contrib/shutdown.te +3 -0
@@ -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)