Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp256904ybl; Thu, 15 Aug 2019 16:49:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqwB4Fn0/VSBFhPl0tG0UWNpqAa0DGby/1JkSNRFYZYu0iDhG3VOI42mDPqGX/JNjdXBDsDy X-Received: by 2002:a17:90a:8591:: with SMTP id m17mr4592480pjn.100.1565912993900; Thu, 15 Aug 2019 16:49:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565912993; cv=none; d=google.com; s=arc-20160816; b=NrBGHl7s7ua0L8Tu7VCVi2hzD6by0Yb5GPOyFzkLLizIg2bTxiey6Agl7MmlJF/iuA 6utRLrvCUGmZWyrWaXtT51zhbugozaubnOXX88B69n1FdUGKlYRRIPRGFWrqjMXdwrF2 lM0IYZX3kw3dLCZWjOvhdly9ds8dgOAl84kbKYCsn6kM+X9W/ZTpvC1AmmW6izi0x2H2 JgXt1mAxWynHJ6GnwEIj/P6wjj4gC4qikzi58Sl8/nvz9Hjb4icbqZr1PWARHbpCGpU0 fcecefEEbzWBfrRgDkj7YZTX7OlN2dl1KYaYfxtTAkneZD8iIjWhtIW2rOd0FxfPO0k5 Cyrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=eNGkOMmlGAHQ4O+Bd+HCbMMkrJlmJlqVe+wt+fkp6Tg=; b=K3XAVJF6tBhlzoBDhJMXiM3BCOWKojCvPpH9uzhtpChIHkBkkeYNwcA1vSMd1rYjR3 uDh0vt7+BRIWwrGOOdqlkqalPmTSetZp/7K461/mzunwjzd9NZ2P69szSLd7k0v6C3f2 YebJjV5o/fVWy9JIUW/E3S7ZKRmy6DCp88DC0zYujxtQYgYdxDRMu3I+3tR4lr+68Zht ov8GOupGmqHtGtml5lCLb/Kav2b8GTwGgxa8nTh6N0NUglY1HuM+VzktSCf5m/w+sw+5 VO/oAaARZqoX4QmcmH+XXauiUp2h9dzto6GQDtdggDDToUNIopA8sVBeYRgGxszJG6tI ZSAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@akamai.com header.s=jan2016.eng header.b=ZKTxSefY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=akamai.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d8si3027832pfr.182.2019.08.15.16.49.38; Thu, 15 Aug 2019 16:49:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@akamai.com header.s=jan2016.eng header.b=ZKTxSefY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=akamai.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732815AbfHOW3D (ORCPT + 99 others); Thu, 15 Aug 2019 18:29:03 -0400 Received: from mx0a-00190b01.pphosted.com ([67.231.149.131]:60644 "EHLO mx0a-00190b01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726302AbfHOW3D (ORCPT ); Thu, 15 Aug 2019 18:29:03 -0400 Received: from pps.filterd (m0122332.ppops.net [127.0.0.1]) by mx0a-00190b01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x7FMQsrX024284; Thu, 15 Aug 2019 23:27:24 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=jan2016.eng; bh=eNGkOMmlGAHQ4O+Bd+HCbMMkrJlmJlqVe+wt+fkp6Tg=; b=ZKTxSefYzNDdwyp8HlbBjB34sYPYXnFzud8P8VMuzN9LZ6zpN8syxx3r//Z2Rqzvh3xz 55/Gf3yB/E8mBZoEPUnUG/RgMtSzG2GxIVQ5W62CW2emYNG3IDF+oei6t4vpIGfOWsMT WgJaBNgBYf3kZR9Vxaq0IXdP4HIgYjJrBz81kABBm/XOIB1mFzWFhX+TSmpRVLMf6S3g SCuFq7LTtCI3P4SHO/MFPYmaG9vkEmugpoD0TcUAdqM3AjAE4L0HqjzbMj06dKa3XxOd Syq5fmTRyMocvuOlS8yBPqPH/fRtSd6Vta0RyXDxYqXMrzIPRyXen1nW56BKqEE986y0 Gg== Received: from prod-mail-ppoint5 (prod-mail-ppoint5.akamai.com [184.51.33.60] (may be forged)) by mx0a-00190b01.pphosted.com with ESMTP id 2ubf94g83n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Aug 2019 23:27:24 +0100 Received: from pps.filterd (prod-mail-ppoint5.akamai.com [127.0.0.1]) by prod-mail-ppoint5.akamai.com (8.16.0.27/8.16.0.27) with SMTP id x7FMHbXA024377; Thu, 15 Aug 2019 15:27:22 -0700 Received: from email.msg.corp.akamai.com ([172.27.123.34]) by prod-mail-ppoint5.akamai.com with ESMTP id 2u9uw9hdyh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 15 Aug 2019 15:27:21 -0700 Received: from USMA1EX-DAG1MB5.msg.corp.akamai.com (172.27.123.105) by usma1ex-dag3mb4.msg.corp.akamai.com (172.27.123.56) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 15 Aug 2019 18:27:21 -0400 Received: from usma1ex-dag1mb6.msg.corp.akamai.com (172.27.123.65) by usma1ex-dag1mb5.msg.corp.akamai.com (172.27.123.105) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 15 Aug 2019 18:27:21 -0400 Received: from usma1ex-dag1mb6.msg.corp.akamai.com ([172.27.123.65]) by usma1ex-dag1mb6.msg.corp.akamai.com ([172.27.123.65]) with mapi id 15.00.1473.005; Thu, 15 Aug 2019 18:27:20 -0400 From: "Lubashev, Igor" To: Mathieu Poirier CC: Arnaldo Carvalho de Melo , "Linux Kernel Mailing List" , Jiri Olsa , "Alexey Budankov" , Peter Zijlstra , Ingo Molnar , Alexander Shishkin , Namhyung Kim , Suzuki K Poulose , linux-arm-kernel , James Morris , Leo Yan Subject: RE: [PATCH v3 3/4] perf: Use CAP_SYSLOG with kptr_restrict checks Thread-Topic: [PATCH v3 3/4] perf: Use CAP_SYSLOG with kptr_restrict checks Thread-Index: AQHVTS6ohXVeHma7aEyJ5mLyFs0geab7PiSAgAAMNACAAAEdgP//yqiwgAHfTwD//80DsA== Date: Thu, 15 Aug 2019 22:27:20 +0000 Message-ID: <930a59730c0d495f8c5acf4f99048e8d@usma1ex-dag1mb6.msg.corp.akamai.com> References: <291d2cda6ee75b4cd4c9ce717c177db18bf03a31.1565188228.git.ilubashe@akamai.com> <20190814184814.GM9280@kernel.org> <20190814185213.GN9280@kernel.org> <23f7b8c7616a467c93ee2c77e8ffd3cf@usma1ex-dag1mb6.msg.corp.akamai.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [172.19.36.150] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-15_10:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908150210 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-08-15_10:2019-08-14,2019-08-15 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 lowpriorityscore=0 adultscore=0 clxscore=1011 malwarescore=0 mlxlogscore=999 phishscore=0 suspectscore=0 bulkscore=0 impostorscore=0 spamscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1906280000 definitions=main-1908150212 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCBBdWd1c3QgMTUsIDIwMTkgYXQgNDoxNyBQTSBNYXRoaWV1IFBvaXJpZXIgPG1hdGhp ZXUucG9pcmllckBsaW5hcm8ub3JnPiB3cm90ZToNCj4gT24gV2VkLCAxNCBBdWcgMjAxOSBhdCAx NDowMiwgTHViYXNoZXYsIElnb3IgPGlsdWJhc2hlQGFrYW1haS5jb20+DQo+IHdyb3RlOg0KPiA+ DQo+ID4gPiBPbiBXZWQsIEF1Z3VzdCAxNCwgMjAxOSBhdCAyOjUyIFBNIEFybmFsZG8gQ2FydmFs aG8gZGUgTWVsbw0KPiA8YXJuYWxkby5tZWxvQGdtYWlsLmNvbT4gd3JvdGU6DQo+ID4gPiBFbSBX ZWQsIEF1ZyAxNCwgMjAxOSBhdCAwMzo0ODoxNFBNIC0wMzAwLCBBcm5hbGRvIENhcnZhbGhvIGRl IE1lbG8NCj4gPiA+IGVzY3JldmV1Og0KPiA+ID4gPiBFbSBXZWQsIEF1ZyAxNCwgMjAxOSBhdCAx MjowNDozM1BNIC0wNjAwLCBNYXRoaWV1IFBvaXJpZXIgZXNjcmV2ZXU6DQo+ID4gPiA+ID4gIyBl Y2hvIDAgPiAvcHJvYy9zeXMva2VybmVsL2twdHJfcmVzdHJpY3QgIyAuL3Rvb2xzL3BlcmYvcGVy Zg0KPiA+ID4gPi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