From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CCCA9C433E1 for ; Wed, 22 Jul 2020 09:08:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 50E8020717 for ; Wed, 22 Jul 2020 09:08:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=bigon.be header.i=@bigon.be header.b="rPok8MPL" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726555AbgGVJIh (ORCPT ); Wed, 22 Jul 2020 05:08:37 -0400 Received: from ithil.bigon.be ([163.172.57.153]:52388 "EHLO ithil.bigon.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726153AbgGVJIg (ORCPT ); Wed, 22 Jul 2020 05:08:36 -0400 X-Greylist: delayed 561 seconds by postgrey-1.27 at vger.kernel.org; Wed, 22 Jul 2020 05:08:36 EDT Received: from localhost (localhost [IPv6:::1]) by ithil.bigon.be (Postfix) with ESMTP id 29A741FD29 for ; Wed, 22 Jul 2020 10:59:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bigon.be; h= content-transfer-encoding:mime-version:x-mailer:message-id:date :date:subject:subject:from:from:received:received:received; s= key1; t=1595408350; x=1597222751; bh=fd30GzJh4y6F9qdPo6bD5EKWIzW RaVJkV69AqD6Uuvk=; b=rPok8MPLMdPv3Yvec0LKx8nwTpVXO8jZ+CWtdCidNIx AEzoHVH9KmqHxGF0rip/B8BUQDmY5keTKthlwb3rDmo64uu8td0/HdOXvwFNVY/5 AquhAl/SUoZHonImNAYLatHHUQGYjDArRJbkBygGNaaXaap+BfyT8Zfzf6LyRbCU = Received: from ithil.bigon.be ([IPv6:::1]) by localhost (ithil.bigon.be [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id mYaQVPaJ_-BH for ; Wed, 22 Jul 2020 10:59:10 +0200 (CEST) Received: from edoras.bigon.be (unknown [IPv6:2a02:a03f:65b8:4300:746b:cff:67dc:4fbd]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bigon@bigon.be) by ithil.bigon.be (Postfix) with ESMTPSA for ; Wed, 22 Jul 2020 10:59:10 +0200 (CEST) Received: from bigon (uid 1000) (envelope-from bigon@bigon.be) id 202d7 by edoras.bigon.be (DragonFly Mail Agent v0.12); Wed, 22 Jul 2020 10:59:08 +0200 From: Laurent Bigonville To: selinux-refpolicy@vger.kernel.org Subject: [PATCH] Also label polkit-agent-helper-1 when installed directly in /usr/libexec Date: Wed, 22 Jul 2020 10:59:08 +0200 Message-Id: <20200722085908.57820-1-bigon@debian.org> X-Mailer: git-send-email 2.28.0.rc1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: selinux-refpolicy-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org From: Laurent Bigonville Debian now installs that executable directly in /usr/libexec for the version 0.105 Signed-off-by: Laurent Bigonville --- policy/modules/services/policykit.fc | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/services/policykit.fc b/policy/modules/services/policykit.fc index e2782838..85814b95 100644 --- a/policy/modules/services/policykit.fc +++ b/policy/modules/services/policykit.fc @@ -11,6 +11,7 @@ # Systemd unit file /usr/lib/systemd/system/[^/]*polkit.* -- gen_context(system_u:object_r:policykit_unit_t,s0) +/usr/libexec/polkit-agent-helper-1 -- gen_context(system_u:object_r:policykit_auth_exec_t,s0) /usr/libexec/polkit-read-auth-helper -- gen_context(system_u:object_r:policykit_auth_exec_t,s0) /usr/libexec/polkit-grant-helper.* -- gen_context(system_u:object_r:policykit_grant_exec_t,s0) /usr/libexec/polkit-resolve-exe-helper.* -- gen_context(system_u:object_r:policykit_resolve_exec_t,s0) -- 2.28.0.rc1