2017-04-29 18:18:15

by guido

[permalink] [raw]
Subject: [refpolicy] [PATCH 7/7] shutdown: send msg to syslog

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

Signed-off-by: Guido Trentalancia <[email protected]>
---
policy/modules/contrib/shutdown.te | 3 +++
1 file changed, 3 insertions(+)

--- a/policy/modules/contrib/shutdown.te 2017-02-04 19:30:33.000000000 +0100
+++ b/policy/modules/contrib/shutdown.te 2017-04-29 17:39:08.107144933 +0200
@@ -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)