Gentoo Archives: gentoo-commits

From: Sven Vermeulen <swift@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/
Date: Wed, 25 Jun 2014 19:07:07
Message-Id: 1403723081.d3ad3fd3b22e7728874b475230d164f08e33c817.swift@gentoo
1 commit: d3ad3fd3b22e7728874b475230d164f08e33c817
2 Author: Elia Pinto <andronicus.spiros <AT> gmail <DOT> com>
3 AuthorDate: Tue Jun 10 15:22:47 2014 +0000
4 Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 25 19:04:41 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=d3ad3fd3
7
8 apache.te: Add labelling support for /var/log/mlogc
9
10 Add the right labelling support for the
11 ModSecurity Audit Log Collector(mlogc).
12 mlogc is started by apache and run with the
13 same selinux security context.
14
15 Signed-off-by: Elia Pinto <andronicus.spiros <AT> gmail.com>
16
17 ---
18 policy/modules/contrib/apache.fc | 1 +
19 1 file changed, 1 insertion(+)
20
21 diff --git a/policy/modules/contrib/apache.fc b/policy/modules/contrib/apache.fc
22 index ab4a625..818e177 100644
23 --- a/policy/modules/contrib/apache.fc
24 +++ b/policy/modules/contrib/apache.fc
25 @@ -124,6 +124,7 @@ ifdef(`distro_suse',`
26 /var/log/cherokee(/.*)? gen_context(system_u:object_r:httpd_log_t,s0)
27 /var/log/dirsrv/admin-serv(/.*)? gen_context(system_u:object_r:httpd_log_t,s0)
28 /var/log/glpi(/.*)? gen_context(system_u:object_r:httpd_log_t,s0)
29 +/var/log/mlogc(/.*)? gen_context(system_u:object_r:httpd_sys_rw_content_t,s0)
30 /var/log/httpd(/.*)? gen_context(system_u:object_r:httpd_log_t,s0)
31 /var/log/horde2(/.*)? gen_context(system_u:object_r:httpd_log_t,s0)
32 /var/log/lighttpd(/.*)? gen_context(system_u:object_r:httpd_log_t,s0)