From patchwork Tue Oct 16 15:53:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yordan Karadzhov X-Patchwork-Id: 10759577 Return-Path: Received: from mail-bn3nam01on0067.outbound.protection.outlook.com ([104.47.33.67]:34715 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727254AbeJPXo1 (ORCPT ); Tue, 16 Oct 2018 19:44:27 -0400 From: Yordan Karadzhov To: "rostedt@goodmis.org" CC: "linux-trace-devel@vger.kernel.org" Subject: [PATCH v2 17/23] kernel-shark-qt: Add PolicyKit Configuration for kshark-record Date: Tue, 16 Oct 2018 15:53:17 +0000 Message-ID: <20181016155232.5257-18-ykaradzhov@vmware.com> References: <20181016155232.5257-1-ykaradzhov@vmware.com> In-Reply-To: <20181016155232.5257-1-ykaradzhov@vmware.com> Content-Language: en-US MIME-Version: 1.0 Sender: linux-trace-devel-owner@vger.kernel.org List-ID: Content-Length: 1399 The PolicyKit Policy Configuration will allow the kshark-record executable to be started as Root via pkexec. Signed-off-by: Yordan Karadzhov --- .../org.freedesktop.kshark-record.policy | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 kernel-shark-qt/org.freedesktop.kshark-record.policy diff --git a/kernel-shark-qt/org.freedesktop.kshark-record.policy b/kernel-shark-qt/org.freedesktop.kshark-record.policy new file mode 100644 index 0000000..dc73817 --- /dev/null +++ b/kernel-shark-qt/org.freedesktop.kshark-record.policy @@ -0,0 +1,18 @@ + + + + + + Authentication is required to run KernelShark Record + + auth_admin + auth_admin + auth_admin + + /usr/local/bin/kshark-record + true + + +