aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Trentalancia <guido@trentalancia.net>2017-04-29 20:17:53 +0200
committerJason Zaman <jason@perfinion.com>2017-05-07 23:54:42 +0800
commitd4c00f71309403b77db1cdf60a1da0de877d7b30 (patch)
treef58376f33f2aa3de46f7ce2165f59546c4fd689b
parentjava: error messages terminal printout (diff)
downloadhardened-refpolicy-d4c00f71.tar.gz
hardened-refpolicy-d4c00f71.tar.bz2
hardened-refpolicy-d4c00f71.zip
loadkeys: use init fds (system bootup)
Update the loadkeys module so that it can use init file descriptors (to print out messages during boot). Signed-off-by: Guido Trentalancia <guido@trentalancia.net>
-rw-r--r--policy/modules/contrib/loadkeys.te2
1 files changed, 2 insertions, 0 deletions
diff --git a/policy/modules/contrib/loadkeys.te b/policy/modules/contrib/loadkeys.te
index d99a28bf3..dcde3ffee 100644
--- a/policy/modules/contrib/loadkeys.te
+++ b/policy/modules/contrib/loadkeys.te
@@ -23,6 +23,8 @@ allow loadkeys_t self:unix_stream_socket { connect create };
kernel_read_system_state(loadkeys_t)
+init_use_fds(loadkeys_t)
+
corecmd_exec_bin(loadkeys_t)
corecmd_exec_shell(loadkeys_t)