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 88552139694 for ; Sun, 30 Apr 2017 14:20:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3125D21C107; Sun, 30 Apr 2017 14:20:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 0C7D521C107 for ; Sun, 30 Apr 2017 14:20:15 +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 521C934169D for ; Sun, 30 Apr 2017 14:20:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 084D07449 for ; Sun, 30 Apr 2017 14:20:00 +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: <1493561864.c86ff0fad5076084e9f98a16b47152ed52645bfa.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: c86ff0fad5076084e9f98a16b47152ed52645bfa X-VCS-Branch: master Date: Sun, 30 Apr 2017 14:20:00 +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: da18ae58-0227-4c28-a973-2ad32a109266 X-Archives-Hash: c647244afae486eb1e17ca1e3b88c4a0 commit: c86ff0fad5076084e9f98a16b47152ed52645bfa Author: Chris PeBenito ieee org> AuthorDate: Sun Apr 16 23:01:40 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Apr 30 14:17:44 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=c86ff0fa 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) ')