Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp2707160ybn; Thu, 26 Sep 2019 16:28:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqysAQvThdXZZADfo0vtFBZhSX0lVVKGx/wiRnNYvFOpa3VEexAbhyrkG76rGTeEQARkRLUR X-Received: by 2002:a50:f04e:: with SMTP id u14mr1468958edl.247.1569540509441; Thu, 26 Sep 2019 16:28:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1569540509; cv=pass; d=google.com; s=arc-20160816; b=FnJw0RVSaog7KomtcplaG1d2NKbOtQEzCorKPtwYZQnyDBE+w1bTpuSyikMT+Bm4Cf X9beaC07zdu1Ec9UpHraymkidwdXl8X9ehuufdAdzMMD8HXuNireyZaKeL/S9topa2v3 dT5bAdN6TpPS28HD9xYZOwNaKp2DGNcxJg7NOpCcxvYYUh/UXfhkm3WWqOcWQaTCC9Ys s4wp36iARaPXjfnmr2Ki7tZB3UGMw8ZaUdgA3DsOd5bKrsGPnOFGBHEed+3MU4RdnaKd GjenXnIjUu0G4xWjM8y22w9WOw7SZ5vKn2drZOsKQ7czH7XOGSxCfkXZpEQS2m++r876 R4jg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=AXVSDh+BlsrixarUZr4SHMdm4C5EMqNNqv8vZH/8HhY=; b=pF1FEGP3C+VhX1z9Q+7W0oSprCnAZqgjyHlyN5rnrM3XberYFtESWzwKwyJVu5met3 yd0UM14nF9lyEt4CHjjCTWNrIvMA1QXdlvuxL7KfLv/qLfbdR8jZ3ho8j9Xl2VyeIxWH uOKbctC6wvtBpg3b692tYX4Mcx7u/jxf++8XyHuVMr4gOTGdSPvfFsbcYGpp7VgYMmAo aRgB5//txh/mRCsMrfGQUxnNb0AZJd/Qrf9wRn8492r0gxlXYf39MS00bc0qZBYpIKk+ z/pYwyNBuhI73LB45dbksQ3LEm0WYxLZJLio1kerDujU3Jf0o8q2YmU1vy1hY5SNrk0n y9iA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=cpHVkoju; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d9si486408edb.371.2019.09.26.16.27.45; Thu, 26 Sep 2019 16:28:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=cpHVkoju; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728628AbfIZX1i (ORCPT + 99 others); Thu, 26 Sep 2019 19:27:38 -0400 Received: from mga01.intel.com ([192.55.52.88]:22341 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728441AbfIZX1i (ORCPT ); Thu, 26 Sep 2019 19:27:38 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2019 16:27:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,553,1559545200"; d="scan'208";a="194297467" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga006.jf.intel.com with ESMTP; 26 Sep 2019 16:27:36 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 26 Sep 2019 16:27:36 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.36.54) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 26 Sep 2019 16:27:36 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R17HMeYx4Stnf3fKxTh26+2JE5WzDUdPdlSph5EFlp1u28fa57E9HolzctPQeINvjirerJjgodkmIpb/c4lm0jA1pNafYBsa8gumjXmrqze5i7r+TE+GO51ZlCGuMdMUpphD0+WDqPKnPW+1qqGPc8SQZ0C69EcQAqkOOy8n4/fGY+UeVOfVHfdkyr+AtYmnpzNyLFMhFnu4cOBsr5KfgSopVfpGC/A75SB63/HP/rLM69PoG1M/6jDRz0gwO57kkZ6yrhLSLwmONPq7W6b/t2S9aYV6YVuep4nje49TSMRQsWR60XiC4oyGcqdpn8I2WIV3lf5hFY02a6/KBdWu6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AXVSDh+BlsrixarUZr4SHMdm4C5EMqNNqv8vZH/8HhY=; b=hRlscZYS6ZNbQDHfvp/ehv+OXebvIaYpqb+GSAezrxJhWJ0bAbgaXkULaggT9lqnJAVTxmhYCdJ9BfMnmb9Xf5Jk9lCgjyB4hzs4vKA6gpLkSMl0/mQZeTeqIBcu1OGIRn9K8lWjnCCv7AZw/xBBcsTMENakfJuwuxm80MoLj3aJXV8b/yjorK7IZEnI3ppexbhJychUMfeZ0SHqan5J/gne0H+DOFC8OBMfum+HmG35sYc3yv7zqbmHLmPNmdbTH6qTXmqUsE1KBZjB28pTRocqVps3mjm/Y5l0skAS+vZttwPrjo3P7byM2uwLYLc/ShG6jIuL8Ol0KknKsy13rQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AXVSDh+BlsrixarUZr4SHMdm4C5EMqNNqv8vZH/8HhY=; b=cpHVkojuCpVLb5IcCKQp3bISS9pMBJUMt90622mOSuCLMIUo4ib3b0bp4frh1ejHzoIitEsDD3oSPL6mFlSZfI3lmaebj9O67E1xdCDjROupkx9PapSGyYd2/eWgIO7fOQGvtZdy7c1b4R5hKzY3FbX75h7/Cq33gf8+KJTNhjQ= Received: from DM6PR11MB4412.namprd11.prod.outlook.com (52.132.248.86) by DM6PR11MB3417.namprd11.prod.outlook.com (20.177.219.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.18; Thu, 26 Sep 2019 23:27:34 +0000 Received: from DM6PR11MB4412.namprd11.prod.outlook.com ([fe80::5d45:636:6a4a:9397]) by DM6PR11MB4412.namprd11.prod.outlook.com ([fe80::5d45:636:6a4a:9397%7]) with mapi id 15.20.2305.017; Thu, 26 Sep 2019 23:27:34 +0000 From: "Gix, Brian" To: "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" CC: "michal.lowas-rzechonek@silvair.com" Subject: Re: [PATCH BlueZ v3 3/3] mesh: Fix Key Ring permissions for local nodes Thread-Topic: [PATCH BlueZ v3 3/3] mesh: Fix Key Ring permissions for local nodes Thread-Index: AQHVdJZu+Q6WMhtc1U2FzjOdDnTbiKc+bDwAgAAuiIA= Date: Thu, 26 Sep 2019 23:27:34 +0000 Message-ID: <0a384749e155689d7981a443059d6cb5a6522f75.camel@intel.com> References: <20190926181444.4916-1-brian.gix@intel.com> <20190926181444.4916-4-brian.gix@intel.com> <3c389010afa470574d5a90a4dc31a2bad9c26e84.camel@intel.com> In-Reply-To: <3c389010afa470574d5a90a4dc31a2bad9c26e84.camel@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=brian.gix@intel.com; x-originating-ip: [192.55.54.42] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 280473c6-1380-4b0a-8b0b-08d742d91c47 x-ms-traffictypediagnostic: DM6PR11MB3417: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 0172F0EF77 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(346002)(39860400002)(136003)(396003)(376002)(189003)(199004)(446003)(8676002)(36756003)(4326008)(6512007)(14454004)(6436002)(25786009)(66066001)(11346002)(486006)(2616005)(5660300002)(2501003)(186003)(76176011)(6116002)(3846002)(256004)(476003)(478600001)(14444005)(26005)(7736002)(102836004)(71200400001)(6636002)(6506007)(316002)(2906002)(6246003)(71190400001)(66446008)(8936002)(81166006)(99286004)(81156014)(66946007)(66476007)(66556008)(229853002)(76116006)(64756008)(305945005)(86362001)(118296001)(110136005)(91956017)(6486002);DIR:OUT;SFP:1102;SCL:1;SRVR:DM6PR11MB3417;H:DM6PR11MB4412.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PWnHpaU4S8AB1CNL92zpf8M4E0WJf2xzuyOA4/riT/dwKdFIFpMKUzA48I9J55uQ8PfpKdJ6wX0ApBskLnNTxVf++/rrXx4WUgiOSQZRiMhnE6z2cwghkOHqEPcbzKjbSCHkRN3H84NRPXfm4e8WfP25ssePTxNenzT0BuLjJR2qQXr52GfAxglOYQOK/NnxPECqu4R2KOnuzBFad+Qowq5HVJlQmG79m2R8NofEHHU8SyDRt0ra98RRbJOgWU1H8Dg+rS2BaO6qX+8smdLuKyP27qNK37OdF27bkUh23PNAm6/wQpn3ZmcwTYHTl1YzWEbCWL86d1xQDcS9CdHg4ubrMwrN5Vh+X9JzKBACL7teiKUxsiQkJWHdDE9PawudQ/c8sc6A3hJWXoO7I8KapM6G98ipqy+dMva/hKaJRmY= Content-Type: text/plain; charset="utf-8" Content-ID: <9CF652954D07B24ABE9571C3E9971C58@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 280473c6-1380-4b0a-8b0b-08d742d91c47 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Sep 2019 23:27:34.4352 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: QSxm03VlA8wtH9MeAgRsbL6+KETWCXoM6VFDjK925dWpgrwnaQvkZYdV3eMRwMBiXmgKIb+/KJt/fYbFsi2WEw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3417 X-OriginatorOrg: intel.com Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org T24gVGh1LCAyMDE5LTA5L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