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 E226C1396D9 for ; Sun, 29 Oct 2017 20:43:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3415D2BC103; Sun, 29 Oct 2017 20:43:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 12F5C2BC103 for ; Sun, 29 Oct 2017 20:43:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 4863A3416BE for ; Sun, 29 Oct 2017 20:43:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AAD0D7419 for ; Sun, 29 Oct 2017 20:42:57 +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: <1509281990.d46e984bba90f703233e36a3c77926f0e4711859.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master 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: d46e984bba90f703233e36a3c77926f0e4711859 X-VCS-Branch: master Date: Sun, 29 Oct 2017 20:42:57 +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: 057e4682-702b-42f8-94b8-ddfff6f767de X-Archives-Hash: 92a36c425ffd2407ce79367f18358674 commit: d46e984bba90f703233e36a3c77926f0e4711859 Author: Luis Ressel via refpolicy oss tresys com> AuthorDate: Tue Oct 24 23:46:43 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Oct 29 12:59:50 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=d46e984b kernel/files.if: files_list_kernel_modules should grant read perms for symlinks files_search_kernel_modules also grant this; there's a couple of symlinks in /lib/modules/. policy/modules/kernel/files.if | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/kernel/files.if b/policy/modules/kernel/files.if index a9557079..05ca46a7 100644 --- a/policy/modules/kernel/files.if +++ b/policy/modules/kernel/files.if @@ -3966,6 +3966,7 @@ interface(`files_list_kernel_modules',` ') allow $1 modules_object_t:dir list_dir_perms; + read_lnk_files_pattern($1, modules_object_t, modules_object_t) ') ########################################