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 D96A71381F3 for ; Mon, 30 Sep 2013 19:03:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12574E0B11; Mon, 30 Sep 2013 19:03:43 +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 2B4A1E0B11 for ; Mon, 30 Sep 2013 19:03:42 +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 380E333E72B for ; Mon, 30 Sep 2013 19:03:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id EE2F9E5467 for ; Mon, 30 Sep 2013 19:03:38 +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: <1380567657.ddd5723692850dcd882d3466d65b2be7a65908d0.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/slocate.fc policy/modules/contrib/slocate.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: ddd5723692850dcd882d3466d65b2be7a65908d0 X-VCS-Branch: master Date: Mon, 30 Sep 2013 19:03:38 +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: c26c7d58-63a9-4ed0-8d4a-1d091d0421c6 X-Archives-Hash: 7a2c5652c196f638d52be364eeca8557 commit: ddd5723692850dcd882d3466d65b2be7a65908d0 Author: Dominick Grift gmail com> AuthorDate: Thu Sep 26 06:37:45 2013 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Mon Sep 30 19:00:57 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=ddd57236 slocate: catch /usr/bin/updatedb.mlocate, and /etc/cron.daily/mlocate on Debian Signed-off-by: Dominick Grift gmail.com> --- policy/modules/contrib/slocate.fc | 4 +++- policy/modules/contrib/slocate.te | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/policy/modules/contrib/slocate.fc b/policy/modules/contrib/slocate.fc index 6eede98..19dbf4f 100644 --- a/policy/modules/contrib/slocate.fc +++ b/policy/modules/contrib/slocate.fc @@ -1,3 +1,5 @@ -/usr/bin/updatedb -- gen_context(system_u:object_r:locate_exec_t, s0) +/etc/cron\.daily/[sm]locate -- gen_context(system_u:object_r:locate_exec_t,s0) + +/usr/bin/updatedb.* -- gen_context(system_u:object_r:locate_exec_t,s0) /var/lib/[sm]locate(/.*)? gen_context(system_u:object_r:locate_var_lib_t,s0) diff --git a/policy/modules/contrib/slocate.te b/policy/modules/contrib/slocate.te index 4df4417..b362a61 100644 --- a/policy/modules/contrib/slocate.te +++ b/policy/modules/contrib/slocate.te @@ -1,4 +1,4 @@ -policy_module(slocate, 1.12.0) +policy_module(slocate, 1.12.1) ################################# #