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=-7.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS autolearn=ham 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 1A68FC282C2 for ; Thu, 7 Feb 2019 09:18:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DA8622080F for ; Thu, 7 Feb 2019 09:18:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726715AbfBGJSv (ORCPT ); Thu, 7 Feb 2019 04:18:51 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34814 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726691AbfBGJSv (ORCPT ); Thu, 7 Feb 2019 04:18:51 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 44D693DE0E for ; Thu, 7 Feb 2019 09:18:51 +0000 (UTC) Received: from workstation.brq.redhat.com (unknown [10.43.12.40]) by smtp.corp.redhat.com (Postfix) with ESMTP id 62E5971CBA; Thu, 7 Feb 2019 09:18:50 +0000 (UTC) From: Petr Lautrbach To: selinux@vger.kernel.org Cc: Dan Walsh , Petr Lautrbach Subject: [PATCH v2] dbus: Fix name of polkit function Date: Thu, 7 Feb 2019 10:18:44 +0100 Message-Id: <20190207091844.11336-1-plautrba@redhat.com> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 07 Feb 2019 09:18:51 +0000 (UTC) Sender: selinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux@vger.kernel.org From: Dan Walsh Add missing action org.selinux.change_default_mode for change_default_mode() and remove unused action org.selinux.change_policy_type. Fixes: e8718ef51463 ("Make sure we do the polkit check on all dbus interfaces.") Signed-off-by: Petr Lautrbach --- dbus/org.selinux.policy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dbus/org.selinux.policy b/dbus/org.selinux.policy index 01266102..9772127b 100644 --- a/dbus/org.selinux.policy +++ b/dbus/org.selinux.policy @@ -70,9 +70,9 @@ auth_admin_keep - - SELinux write access - System policy prevents change_policy_type access to SELinux + + Change SELinux default enforcing mode + System policy prevents change_default_policy access to SELinux no no -- 2.20.1