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 6681713835B for ; Tue, 13 Oct 2020 03:02:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2F7F3E0837; Tue, 13 Oct 2020 03:02:08 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 1871BE0837 for ; Tue, 13 Oct 2020 03:02:08 +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 A54CC340A3B for ; Tue, 13 Oct 2020 03:02:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1389737F for ; Tue, 13 Oct 2020 03:02:05 +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: <1602450005.326c950e7b3c5e3ab77aff79f16e6440421f47ae.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/udev.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 326c950e7b3c5e3ab77aff79f16e6440421f47ae X-VCS-Branch: master Date: Tue, 13 Oct 2020 03:02:05 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 79beec2b-b926-4079-a317-a8088d364c67 X-Archives-Hash: 5eeeb3e0c8c07d96c4673dc9cb6dbc93 commit: 326c950e7b3c5e3ab77aff79f16e6440421f47ae Author: Antoine Tenart bootlin com> AuthorDate: Mon Aug 31 13:38:13 2020 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Oct 11 21:00:05 2020 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=326c950e udev: allow udevadm to retrieve xattrs Fixes: avc: denied { getattr } for pid=50 comm="udevadm" name="/" dev="vda" ino=2 scontext=system_u:system_r:udevadm_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=0 avc: denied { getattr } for pid=52 comm="udevadm" name="/" dev="vda" ino=2 scontext=system_u:system_r:udevadm_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=0 Signed-off-by: Antoine Tenart bootlin.com> Signed-off-by: Jason Zaman gentoo.org> policy/modules/system/udev.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/modules/system/udev.te b/policy/modules/system/udev.te index 49380fb2..2ef2337e 100644 --- a/policy/modules/system/udev.te +++ b/policy/modules/system/udev.te @@ -451,3 +451,5 @@ kernel_read_kernel_sysctls(udevadm_t) kernel_read_system_state(udevadm_t) seutil_read_file_contexts(udevadm_t) + +fs_getattr_xattr_fs(udevadm_t)