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:20
Message-Id: 1494172482.d4c00f71309403b77db1cdf60a1da0de877d7b30.perfinion@gentoo
1 commit: d4c00f71309403b77db1cdf60a1da0de877d7b30
2 Author: Guido Trentalancia <guido <AT> trentalancia <DOT> net>
3 AuthorDate: Sat Apr 29 18:17:53 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=d4c00f71
7
8 loadkeys: use init fds (system bootup)
9
10 Update the loadkeys module so that it can use init file descriptors (to
11 print out messages during boot).
12
13 Signed-off-by: Guido Trentalancia <guido <AT> trentalancia.net>
14
15 policy/modules/contrib/loadkeys.te | 2 ++
16 1 file changed, 2 insertions(+)
17
18 diff --git a/policy/modules/contrib/loadkeys.te b/policy/modules/contrib/loadkeys.te
19 index d99a28bf..dcde3ffe 100644
20 --- a/policy/modules/contrib/loadkeys.te
21 +++ b/policy/modules/contrib/loadkeys.te
22 @@ -23,6 +23,8 @@ allow loadkeys_t self:unix_stream_socket { connect create };
23
24 kernel_read_system_state(loadkeys_t)
25
26 +init_use_fds(loadkeys_t)
27 +
28 corecmd_exec_bin(loadkeys_t)
29 corecmd_exec_shell(loadkeys_t)