Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/
Date: Sun, 07 May 2017 16:09:13
Message-Id: 1494172482.90bc58d30413ce90fc5f6b86da4114f539d374f0.perfinion@gentoo
1 commit: 90bc58d30413ce90fc5f6b86da4114f539d374f0
2 Author: Guido Trentalancia <guido <AT> trentalancia <DOT> net>
3 AuthorDate: Sat Apr 29 18:18:15 2017 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Sun May 7 15:54:42 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=90bc58d3
7
8 shutdown: send msg to syslog
9
10 Update the shutdown module so that it can send messages to
11 syslog.
12
13 Signed-off-by: Guido Trentalancia <guido <AT> trentalancia.net>
14
15 policy/modules/contrib/shutdown.te | 3 +++
16 1 file changed, 3 insertions(+)
17
18 diff --git a/policy/modules/contrib/shutdown.te b/policy/modules/contrib/shutdown.te
19 index 6a0b126e..4a2b3510 100644
20 --- a/policy/modules/contrib/shutdown.te
21 +++ b/policy/modules/contrib/shutdown.te
22 @@ -42,6 +42,8 @@ domain_use_interactive_fds(shutdown_t)
23 files_delete_boot_flag(shutdown_t)
24 files_read_generic_pids(shutdown_t)
25
26 +fs_getattr_xattr_fs(shutdown_t)
27 +
28 mls_file_write_to_clearance(shutdown_t)
29
30 term_use_all_terms(shutdown_t)
31 @@ -55,6 +57,7 @@ init_telinit(shutdown_t)
32
33 logging_search_logs(shutdown_t)
34 logging_send_audit_msgs(shutdown_t)
35 +logging_send_syslog_msg(shutdown_t)
36
37 miscfiles_read_localization(shutdown_t)