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=-6.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 6E3A6C41519 for ; Sat, 19 Jan 2019 03:59:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3D8F42087E for ; Sat, 19 Jan 2019 03:59:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727444AbfASD7G (ORCPT ); Fri, 18 Jan 2019 22:59:06 -0500 Received: from mga02.intel.com ([134.134.136.20]:10404 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727414AbfASD7G (ORCPT ); Fri, 18 Jan 2019 22:59:06 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jan 2019 19:59:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,493,1539673200"; d="scan'208,217";a="127004087" Received: from ingas-nuc1.sea.intel.com ([10.254.106.117]) by FMSMGA003.fm.intel.com with ESMTP; 18 Jan 2019 19:59:04 -0800 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: luiz.von.dentz@intel.com, marcel@holtmann.org, brian.gix@intel.com, Inga Stotland Subject: [PATCH BlueZ v2 2/2] mesh: Add D-Bus policy for Bluetooth mesh daemon Date: Fri, 18 Jan 2019 19:58:37 -0800 Message-Id: <20190119035837.6053-3-inga.stotland@intel.com> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190119035837.6053-1-inga.stotland@intel.com> References: <20190119035837.6053-1-inga.stotland@intel.com> Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This adds new D-Bus policy file bluetooth-mesh.conf --- Makefile.mesh | 6 ++++++ mesh/bluetooth-mesh.conf | 22 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 mesh/bluetooth-mesh.conf diff --git a/Makefile.mesh b/Makefile.mesh index 66854e0bf..28c87a061 100644 --- a/Makefile.mesh +++ b/Makefile.mesh @@ -1,5 +1,9 @@ if MESH +if DATAFILES +dbus_DATA += mesh/bluetooth-mesh.conf +endif + mesh_sources = mesh/mesh.h mesh/mesh.c \ mesh/net_keys.h mesh/net_keys.c \ mesh/mesh-io.h mesh/mesh-io.c \ @@ -27,4 +31,6 @@ libexec_PROGRAMS += mesh/bluetooth-meshd mesh_bluetooth_meshd_SOURCES = $(mesh_sources) mesh/main.c mesh_bluetooth_meshd_LDADD = src/libshared-ell.la $(ell_ldadd) -ljson-c mesh_bluetooth_meshd_DEPENDENCIES = $(ell_dependencies) src/libshared-ell.la + +EXTRA_DIST += mesh/bluetooth-mesh.conf endif diff --git a/mesh/bluetooth-mesh.conf b/mesh/bluetooth-mesh.conf new file mode 100644 index 000000000..28be7c649 --- /dev/null +++ b/mesh/bluetooth-mesh.conf @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + -- 2.17.2