All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH 5/7] loadkeys: use init fds (system bootup)
@ 2017-04-29 18:17 Guido Trentalancia
  0 siblings, 0 replies; only message in thread
From: Guido Trentalancia @ 2017-04-29 18:17 UTC (permalink / raw)
  To: refpolicy

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>
---
 policy/modules/contrib/loadkeys.te |    2 ++
 1 file changed, 2 insertions(+)

--- a/policy/modules/contrib/loadkeys.te	2017-02-04 19:30:20.000000000 +0100
+++ b/policy/modules/contrib/loadkeys.te	2017-04-29 17:40:49.932144517 +0200
@@ -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)
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-29 18:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-29 18:17 [refpolicy] [PATCH 5/7] loadkeys: use init fds (system bootup) Guido Trentalancia

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.