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 544271393E9 for ; Sun, 27 Apr 2014 15:34:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AFE39E0A45; Sun, 27 Apr 2014 15:34:13 +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 2D871E09A9 for ; Sun, 27 Apr 2014 15:34:13 +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 70A8433FE4F for ; Sun, 27 Apr 2014 15:34:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id C015B18745 for ; Sun, 27 Apr 2014 15:34: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: <1398612515.9b8a447824f56c4c8cb7427b8d791287f4a4b03a.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/cron.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 9b8a447824f56c4c8cb7427b8d791287f4a4b03a X-VCS-Branch: master Date: Sun, 27 Apr 2014 15:34: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: 81396205-7c73-45f2-8274-ed6e5540f01a X-Archives-Hash: 68a04dc8ea2bd31b0e8f2019edca750d commit: 9b8a447824f56c4c8cb7427b8d791287f4a4b03a Author: Chris PeBenito tresys com> AuthorDate: Thu Apr 24 16:53:11 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Apr 27 15:28:35 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=9b8a4478 Move sock_file filetrans to fcron_crond conditional. Also drop the name in the filetrans. --- policy/modules/contrib/cron.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/modules/contrib/cron.te b/policy/modules/contrib/cron.te index da85d9b..8cf6dc8 100644 --- a/policy/modules/contrib/cron.te +++ b/policy/modules/contrib/cron.te @@ -234,7 +234,6 @@ logging_log_filetrans(crond_t, cron_log_t, file) manage_files_pattern(crond_t, crond_var_run_t, crond_var_run_t) files_pid_filetrans(crond_t, crond_var_run_t, file) -files_pid_filetrans(crond_t, crond_var_run_t, sock_file, "fcron.fifo") manage_files_pattern(crond_t, cron_spool_t, cron_spool_t) @@ -349,6 +348,7 @@ tunable_policy(`allow_polyinstantiation',` tunable_policy(`fcron_crond',` allow crond_t { system_cron_spool_t user_cron_spool_t }:file manage_file_perms; allow crond_t crond_var_run_t:sock_file manage_sock_file_perms; + files_pid_filetrans(crond_t, crond_var_run_t, sock_file) ') optional_policy(`