All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH v2] apache.te: Add labelling support for /var/log/mlogc
@ 2014-06-10 15:22 Elia Pinto
  2014-06-11 14:13 ` Christopher J. PeBenito
  2014-06-17 12:24 ` Christopher J. PeBenito
  0 siblings, 2 replies; 7+ messages in thread
From: Elia Pinto @ 2014-06-10 15:22 UTC (permalink / raw)
  To: refpolicy

Add the right labelling support for the
ModSecurity Audit Log Collector(mlogc).
mlogc is started by apache and run with the
same selinux security context.

Signed-off-by: Elia Pinto <andronicus.spiros@gmail.com>
---
This is the second revision. httpd_log_t context was not 
sufficient for mlogc

I'm sorry for the noice, eventually, but I'm not sure that the patch has arrived on the mailing list 
and so i send it back from another account for safety.
 apache.fc |    1 +
 1 file changed, 1 insertion(+)

diff --git a/apache.fc b/apache.fc
index 4e90b04..ec0c0fb 100644
--- a/apache.fc
+++ b/apache.fc
@@ -125,6 +125,7 @@ ifdef(`distro_suse',`
 /var/log/cherokee(/.*)?	gen_context(system_u:object_r:httpd_log_t,s0)
 /var/log/dirsrv/admin-serv(/.*)?	gen_context(system_u:object_r:httpd_log_t,s0)
 /var/log/glpi(/.*)?	gen_context(system_u:object_r:httpd_log_t,s0)
+/var/log/mlogc(/.*)?	gen_context(system_u:object_r:httpd_sys_rw_content_t,s0)
 /var/log/httpd(/.*)?	gen_context(system_u:object_r:httpd_log_t,s0)
 /var/log/horde2(/.*)?	gen_context(system_u:object_r:httpd_log_t,s0)
 /var/log/lighttpd(/.*)?	gen_context(system_u:object_r:httpd_log_t,s0)
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [refpolicy] [PATCH v2] apache.te: Add labelling support for /var/log/mlogc
@ 2014-06-09 12:00 Elia Pinto
  0 siblings, 0 replies; 7+ messages in thread
From: Elia Pinto @ 2014-06-09 12:00 UTC (permalink / raw)
  To: refpolicy

From: Elia Pinto <gitter.spiros@gmail.com>

Add the right labelling support for the
ModSecurity Audit Log Collector(mlogc).
mlogc is started by apache and run with the
same selinux security context.

Signed-off-by: Elia Pinto <gitter.spiros@gmail.com>
---
This is the second revision. httpd_log_t context was not 
sufficient for mlogc
 apache.fc |    1 +
 1 file changed, 1 insertion(+)

diff --git a/apache.fc b/apache.fc
index 4e90b04..ec0c0fb 100644
--- a/apache.fc
+++ b/apache.fc
@@ -125,6 +125,7 @@ ifdef(`distro_suse',`
 /var/log/cherokee(/.*)?	gen_context(system_u:object_r:httpd_log_t,s0)
 /var/log/dirsrv/admin-serv(/.*)?	gen_context(system_u:object_r:httpd_log_t,s0)
 /var/log/glpi(/.*)?	gen_context(system_u:object_r:httpd_log_t,s0)
+/var/log/mlogc(/.*)?	gen_context(system_u:object_r:httpd_sys_rw_content_t,s0)
 /var/log/httpd(/.*)?	gen_context(system_u:object_r:httpd_log_t,s0)
 /var/log/horde2(/.*)?	gen_context(system_u:object_r:httpd_log_t,s0)
 /var/log/lighttpd(/.*)?	gen_context(system_u:object_r:httpd_log_t,s0)
-- 
1.7.10.4

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

end of thread, other threads:[~2014-06-17 12:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-10 15:22 [refpolicy] [PATCH v2] apache.te: Add labelling support for /var/log/mlogc Elia Pinto
2014-06-11 14:13 ` Christopher J. PeBenito
2014-06-11 14:55   ` Elia Pinto
2014-06-13 12:45     ` Christopher J. PeBenito
2014-06-16 17:12       ` Elia Pinto
2014-06-17 12:24 ` Christopher J. PeBenito
  -- strict thread matches above, loose matches on Subject: below --
2014-06-09 12:00 Elia Pinto

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.