Skip to contentSkip to conversation

loadkeys: use init fds (system bootup)

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

lore
Share & tools
lore
#0 lore raw

PATCH 5/7 loadkeys: use init fds (system bootup)

Update the loadkeys module so that it can use init file descriptors (to print out messages during boot).

---
 policy/modules/contrib/loadkeys.te |    2 ++
 1 file changed, 2 insertions(+)
policy/modules/contrib/loadkeys.te +2 -0
@@ -23,6 +23,8 @@ allow loadkeys_t self:unix_stream_socket
 
 kernel_read_system_state(loadkeys_t)
 
+init_use_fds(loadkeys_t)
+
 corecmd_exec_bin(loadkeys_t)
 corecmd_exec_shell(loadkeys_t)