All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH 1/1] Allow userdomains to send syslog messages
@ 2011-08-23 10:57 Sven Vermeulen
  2011-08-24 13:10 ` Christopher J. PeBenito
  0 siblings, 1 reply; 13+ messages in thread
From: Sven Vermeulen @ 2011-08-23 10:57 UTC (permalink / raw)
  To: refpolicy

Some applications that run within the user domain send messages to the syslog
daemon (for instance through the syslog() function). This patch allows the
userdomain to write to the devlog_t socket and interact properly with the
syslog daemon.

Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
---
 policy/modules/system/userdomain.if |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/policy/modules/system/userdomain.if b/policy/modules/system/userdomain.if
index c6d3cc8..17abfcf 100644
--- a/policy/modules/system/userdomain.if
+++ b/policy/modules/system/userdomain.if
@@ -965,6 +965,8 @@ template(`userdom_unpriv_user_template', `
 	# cjp: why?
 	files_read_kernel_symbol_table($1_t)
 
+	logging_send_syslog_msg($1_t)
+
 	ifndef(`enable_mls',`
 		fs_exec_noxattr($1_t)
 
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-08-25 11:21 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-23 10:57 [refpolicy] [PATCH 1/1] Allow userdomains to send syslog messages Sven Vermeulen
2011-08-24 13:10 ` Christopher J. PeBenito
2011-08-24 13:15   ` Dominick Grift
2011-08-24 13:41     ` Christopher J. PeBenito
2011-08-24 13:51       ` Dominick Grift
2011-08-24 14:16         ` Christopher J. PeBenito
2011-08-24 14:31           ` Dominick Grift
2011-08-24 16:11             ` Christopher J. PeBenito
2011-08-24 16:23               ` Dominick Grift
2011-08-25 11:09                 ` Christopher J. PeBenito
2011-08-25 11:21                   ` Dominick Grift
2011-08-25  9:56               ` Dominick Grift
2011-08-24 19:50   ` Sven Vermeulen

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.