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 661381396D1 for ; Sun, 10 Sep 2017 14:03:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0B531FC0F7; Sun, 10 Sep 2017 14:03:56 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B226A1FC0F7 for ; Sun, 10 Sep 2017 14:03:56 +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 650C63417EA for ; Sun, 10 Sep 2017 14:03:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C95F79079 for ; Sun, 10 Sep 2017 14:03:53 +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: <1505047799.f17aea4c3e4b4c9848d7fe4132cf8652ba3f58a6.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/kernel/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/kernel/files.if X-VCS-Directories: policy/modules/kernel/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: f17aea4c3e4b4c9848d7fe4132cf8652ba3f58a6 X-VCS-Branch: next Date: Sun, 10 Sep 2017 14:03:53 +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: 210994f5-7d5f-430c-ab90-b1158446c4db X-Archives-Hash: bd5209f1a82ff2c44328dc1ac3b6eca8 commit: f17aea4c3e4b4c9848d7fe4132cf8652ba3f58a6 Author: Jason Zaman perfinion com> AuthorDate: Sun Sep 10 12:49:59 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Sep 10 12:49:59 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=f17aea4c files: Allow files_*_etc_files to map files policy/modules/kernel/files.if | 3 +++ 1 file changed, 3 insertions(+) diff --git a/policy/modules/kernel/files.if b/policy/modules/kernel/files.if index 7a15f1dd..f2b76f86 100644 --- a/policy/modules/kernel/files.if +++ b/policy/modules/kernel/files.if @@ -2920,6 +2920,7 @@ interface(`files_read_etc_files',` ') allow $1 etc_t:dir list_dir_perms; + allow $1 etc_t:file map; read_files_pattern($1, etc_t, etc_t) read_lnk_files_pattern($1, etc_t, etc_t) ') @@ -2959,6 +2960,7 @@ interface(`files_rw_etc_files',` ') allow $1 etc_t:dir list_dir_perms; + allow $1 etc_t:file map; rw_files_pattern($1, etc_t, etc_t) read_lnk_files_pattern($1, etc_t, etc_t) ') @@ -2980,6 +2982,7 @@ interface(`files_manage_etc_files',` type etc_t; ') + allow $1 etc_t:file map; manage_files_pattern($1, etc_t, etc_t) read_lnk_files_pattern($1, etc_t, etc_t) ')