From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4BE8013877A for ; Wed, 25 Jun 2014 19:07:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16448E0A8D; Wed, 25 Jun 2014 19:06:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7C5F4E0838 for ; Wed, 25 Jun 2014 19:06:55 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2C97034002F for ; Wed, 25 Jun 2014 19:06:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 4EDE219150 for ; Wed, 25 Jun 2014 19:06:47 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1403723081.d3ad3fd3b22e7728874b475230d164f08e33c817.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/apache.fc X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: d3ad3fd3b22e7728874b475230d164f08e33c817 X-VCS-Branch: master Date: Wed, 25 Jun 2014 19:06:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 87f12f57-4a0f-47b4-b14e-3314d8fd950f X-Archives-Hash: 4341df2f53e22280d99f169ab3329de0 commit: d3ad3fd3b22e7728874b475230d164f08e33c817 Author: Elia Pinto gmail com> AuthorDate: Tue Jun 10 15:22:47 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Wed Jun 25 19:04:41 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=d3ad3fd3 apache.te: Add labelling support for /var/log/mlogc 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 gmail.com> --- policy/modules/contrib/apache.fc | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/contrib/apache.fc b/policy/modules/contrib/apache.fc index ab4a625..818e177 100644 --- a/policy/modules/contrib/apache.fc +++ b/policy/modules/contrib/apache.fc @@ -124,6 +124,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)