From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3106C139694 for ; Sun, 30 Apr 2017 09:33:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 926FBE0DE2; Sun, 30 Apr 2017 09:32:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 75271E0DE2 for ; Sun, 30 Apr 2017 09:32:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A7D92341698 for ; Sun, 30 Apr 2017 09:32:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD1AE744B for ; Sun, 30 Apr 2017 09:32:44 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1493543572.0ec70896db5e578c6c0d40a2e04de39b53ff1a7a.perfinion@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/mandb.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 0ec70896db5e578c6c0d40a2e04de39b53ff1a7a X-VCS-Branch: master Date: Sun, 30 Apr 2017 09:32:44 +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: d07ca47a-427d-412a-ba0a-6e0f4ff988a1 X-Archives-Hash: 52d18452eb9dbe7117e94078b16c76b9 commit: 0ec70896db5e578c6c0d40a2e04de39b53ff1a7a Author: Chris PeBenito ieee org> AuthorDate: Sun Apr 16 23:01:40 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Apr 30 09:12:52 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=0ec70896 systemd init from Russell Coker This patch lets mandb_t search init_var_run_t dirs which it needs when running with systems. Also allows it to fs_getattr_xattr_fs() because it seemed pointless to put that in a separate patch. Allow init_t to do several things that it requires when init is systemd. Allow various operations on var_log_t to access var_log_t symlinks too. Let auditd setattr it's directory. policy/modules/contrib/mandb.te | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/policy/modules/contrib/mandb.te b/policy/modules/contrib/mandb.te index 62684374..70fb5072 100644 --- a/policy/modules/contrib/mandb.te +++ b/policy/modules/contrib/mandb.te @@ -1,4 +1,4 @@ -policy_module(mandb, 1.3.1) +policy_module(mandb, 1.3.2) ######################################## # @@ -51,6 +51,10 @@ miscfiles_read_localization(mandb_t) userdom_use_inherited_user_terminals(mandb_t) +ifdef(`init_systemd',` + init_search_run(mandb_t) +') + optional_policy(` cron_system_entry(mandb_t, mandb_exec_t) ')