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 4D1D11381F3 for ; Mon, 21 Oct 2013 18:45:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D6DEDE0AE7; Mon, 21 Oct 2013 18:45:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4F158E0AE7 for ; Mon, 21 Oct 2013 18:45:12 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4451A33DA68 for ; Mon, 21 Oct 2013 18:45:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id E930AE5308 for ; Mon, 21 Oct 2013 18:45:09 +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: <1382380878.39358a6d4738591ee67d77e3e614712008eaf64e.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/logging.fc X-VCS-Directories: policy/modules/system/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 39358a6d4738591ee67d77e3e614712008eaf64e X-VCS-Branch: master Date: Mon, 21 Oct 2013 18:45:09 +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: caa33ce6-3cdd-4a8a-a74c-e81404d7396d X-Archives-Hash: 7c65bd84c13adbf5d6ab6b0f9aa47d25 commit: 39358a6d4738591ee67d77e3e614712008eaf64e Author: Sven Vermeulen siphos be> AuthorDate: Mon Oct 21 18:41:18 2013 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Mon Oct 21 18:41:18 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=39358a6d Support /var/run/syslog-ng.* generally Gentoo uses syslog-ng.ctl and others, so generalize the pattern. --- policy/modules/system/logging.fc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/policy/modules/system/logging.fc b/policy/modules/system/logging.fc index a00c3e0..ab3d346 100644 --- a/policy/modules/system/logging.fc +++ b/policy/modules/system/logging.fc @@ -63,8 +63,7 @@ ifdef(`distro_redhat',` /var/run/log -s gen_context(system_u:object_r:devlog_t,s0) /var/run/metalog\.pid -- gen_context(system_u:object_r:syslogd_var_run_t,s0) /var/run/syslogd\.pid -- gen_context(system_u:object_r:syslogd_var_run_t,mls_systemhigh) -/var/run/syslog-ng.ctl -- gen_context(system_u:object_r:syslogd_var_run_t,s0) -/var/run/syslog-ng(/.*)? gen_context(system_u:object_r:syslogd_var_run_t,s0) +/var/run/syslog-ng(.*)? gen_context(system_u:object_r:syslogd_var_run_t,s0) /var/spool/audit(/.*)? gen_context(system_u:object_r:audit_spool_t,mls_systemhigh) /var/spool/bacula/log(/.*)? gen_context(system_u:object_r:var_log_t,s0)