Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp3247606imd; Mon, 29 Oct 2018 04:17:29 -0700 (PDT) X-Google-Smtp-Source: AJdET5c+MendN1GL9zWOyZ9GDOrl+Ock16idY1eMwY7F3r04j2sAG39qq5HUCMtQpJqWTyMoGI57 X-Received: by 2002:a63:64c:: with SMTP id 73mr13248771pgg.373.1540811849023; Mon, 29 Oct 2018 04:17:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540811848; cv=none; d=google.com; s=arc-20160816; b=ZVpaZnLUBma5qr85xjal1qbmY6SLktt0PexUBSlPIy4It8F6xrX72Y0LZhhVUHmB5x b2h7LMa16zyDqAIDi92jR+tmH6cUwoxLy2IM8tlUrs9+mJzXQ65gBiXMYAjsbsiPmoLi eKACFrjA7/Gf4VYXZo5Y5hdzlM1TikLUIs6ZQyeFBn6M7ve7oEWcr6ualwBrtZPOlNwF iNChVndJDIdYcY5SyS973AeqjdWil/5F1AdZn63xRfHuLYd8f+Q4RFO4MFExkfKBj+uf RcVtX62ter4vATdrpZXn3i844V9xSBCnixRivVRPgBrNQezLrFcr9Id94DhyJT1CSOM1 hhaA== 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-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=FhYAUXT9TrHSb50xK7dMMkYz+tGAQktxBNYXvCCIZAQ=; b=kkuCH09F3Gk58q2cAghQJwnWKbue5F5NMq0BgU+4OflAtlbQ/HllUin7/Zy3lj4RH0 ICjzyR0PQsD7a9LCXd4EbN4GCHHPnJOS+mXgBj4a5gMMzYGaiLVDQ5TrGKNUT2BRM8iK xLKOfwFyB5MQKPD5L2ShtdixkiI4ZHrtP/wR1YApNg18AakDksinFPEoPJ+3wX5DQqWi npvCxHeyp8tbnLUO9aZa0nnapR99OljjgoPeiXn2XCPY8wFbuK5kpHDrYdUE6QRK0JRz 40jabB8QQuoiSbrOpiN3YbxFKJFyTpXknLvYqAwOMLCN57cW/4ub5L4ubwW/Z1C9OROF aCeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=flHfyhRN; 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=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y35-v6si16520220pgl.14.2018.10.29.04.17.12; Mon, 29 Oct 2018 04:17:28 -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=@virtuozzo.com header.s=selector1 header.b=flHfyhRN; 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=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727712AbeJ2UEc (ORCPT + 99 others); Mon, 29 Oct 2018 16:04:32 -0400 Received: from mail-he1eur01on0093.outbound.protection.outlook.com ([104.47.0.93]:6466 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726720AbeJ2UEc (ORCPT ); Mon, 29 Oct 2018 16:04:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FhYAUXT9TrHSb50xK7dMMkYz+tGAQktxBNYXvCCIZAQ=; b=flHfyhRNDnnt33t7cVWeaXe1ggMAOn85kTd5EntwdfLLtF2GJXpgjSBYljJ0EF5ecM79iZXm5KDpxf1LR5MxIp9+YPTz1/rsLPDrnhDwjhjUYXPjG4+4h4te9nM3nuOkCWRQLSm4v0ypt1Y2zkRfOSdiKK6RjTDCq5hWWFViRUk= Received: from DB7PR08MB3258.eurprd08.prod.outlook.com (52.134.111.20) by DB7PR08MB3660.eurprd08.prod.outlook.com (20.177.120.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1273.25; Mon, 29 Oct 2018 11:16:15 +0000 Received: from DB7PR08MB3258.eurprd08.prod.outlook.com ([fe80::9015:d3f0:49b0:3c4e]) by DB7PR08MB3258.eurprd08.prod.outlook.com ([fe80::9015:d3f0:49b0:3c4e%4]) with mapi id 15.20.1273.027; Mon, 29 Oct 2018 11:16:15 +0000 From: Andrey Ryabinin To: Will Deacon CC: Catalin Marinas , Andrew Morton , Kyeongdon Kim , Ard Biesheuvel , Alexander Potapenko , Dmitry Vyukov , "kasan-dev@googlegroups.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Mark Rutland Subject: Re: [PATCH v2 2/3] arm64: lib: use C string functions with KASAN enabled. Thread-Topic: [PATCH v2 2/3] arm64: lib: use C string functions with KASAN enabled. Thread-Index: AQHUUOm30ardQOGNO0efxuU6827od6U2QrGAgAANSoA= Date: Mon, 29 Oct 2018 11:16:15 +0000 Message-ID: <9cf4a5ff-b68d-5703-720a-bce05409428a@virtuozzo.com> References: <20180914152800.GB6236@arm.com> <20180920135631.23833-1-aryabinin@virtuozzo.com> <20180920135631.23833-2-aryabinin@virtuozzo.com> <20181029102922.GC14127@arm.com> In-Reply-To: <20181029102922.GC14127@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM6PR0102CA0015.eurprd01.prod.exchangelabs.com (2603:10a6:209:14::28) To DB7PR08MB3258.eurprd08.prod.outlook.com (2603:10a6:5:1f::20) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [185.231.240.5] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB7PR08MB3660;20:klB7FR+jToNFx/KXbCyREJGH7jnudNH5j3p+G3bAKfs54ink+0Om1PfV/o8sSTeoqsYpsn/BN6SVwjCHjLSAdQ4AbHLEvPqdDnoRml84pGFrWzLcpfZqvaNRMktVaFnLqwF3KXzWKmz4WBJ8/LjjZ2Cq3/GPaTg+h8ML33kpDrE= x-ms-office365-filtering-correlation-id: ee72dd5b-9678-440f-1c56-08d63d8ff0a9 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:DB7PR08MB3660; x-ms-traffictypediagnostic: DB7PR08MB3660: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(42068640409301)(180628864354917)(211936372134217)(153496737603132); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231382)(944501410)(4982022)(52105095)(3002001)(10201501046)(148016)(149066)(150057)(6041310)(20161123564045)(20161123562045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:DB7PR08MB3660;BCL:0;PCL:0;RULEID:;SRVR:DB7PR08MB3660; x-forefront-prvs: 084080FC15 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(136003)(346002)(39840400004)(396003)(366004)(189003)(199004)(14444005)(8676002)(14454004)(106356001)(81166006)(26005)(81156014)(54906003)(966005)(25786009)(186003)(6486002)(256004)(6246003)(6916009)(3846002)(6116002)(31686004)(6306002)(6436002)(7736002)(71190400001)(97736004)(102836004)(71200400001)(7416002)(6512007)(305945005)(2906002)(478600001)(105586002)(6346003)(36756003)(53936002)(8936002)(86362001)(486006)(4326008)(31696002)(68736007)(316002)(446003)(11346002)(476003)(2900100001)(5250100002)(229853002)(53546011)(386003)(6506007)(76176011)(99286004)(5660300001)(66066001)(52116002)(93886005)(2616005);DIR:OUT;SFP:1102;SCL:1;SRVR:DB7PR08MB3660;H:DB7PR08MB3258.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=aryabinin@virtuozzo.com; x-microsoft-antispam-message-info: qKPnStPsLl8PrCAkzO9B13kIicCBvo8OEPOCF5hkOvXLjB5eZYLW2GAPdgu5WbXbOhe/ZFFUDvriX5O1pxDM6OSuCLw9zyBiuESaoMV4rCZjhEnt+uMKNvpXMEY61JsUxf/SIAvXPikVguGrfE72GVHmhNvLcqECcUu0QqJIPquIZB9fLinNyZXGjWGOBKssqTH4LGL0gteYiF2uQYOLEsygTLojaLTEQ7EgqFg8kaqNj54JsNyM8jsYlw9JzCwh4sEI0cLTiUiJqD+JllhJzW7SUp+YtP4aSFo+bhDGXVtvToD/U8F2idBLCueYK0RPmX8z6lafyeRS/ZRVugjd6dskLjoT5EU9WrD1N/JK6Ww= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <7911F4531723C2418882CC1F599F481D@eurprd08.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-Network-Message-Id: ee72dd5b-9678-440f-1c56-08d63d8ff0a9 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Oct 2018 11:16:15.2517 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3660 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDEwLzI5LzIwMTggMDE6MjkgUE0sIFdpbGwgRGVhY29uIHdyb3RlOg0KPiBPbiBUaHUs IFNlcCAyMCwgMjAxOCBhdCAwNDo1NjozMFBNICswMzAwLCBBbmRyZXkgUnlhYmluaW4gd3JvdGU6 DQo+PiBBUk02NCBoYXMgYXNtIGltcGxlbWVudGF0aW9uIG9mIG1lbWNocigpLCBtZW1jbXAoKSwg c3RyW3JdY2hyKCksDQo+PiBzdHJbbl1jbXAoKSwgc3RyW25dbGVuKCkuIEtBU0FOIGRvbid0IHNl ZSBtZW1vcnkgYWNjZXNzZXMgaW4gYXNtDQo+PiBjb2RlLCB0aHVzIGl0IGNhbiBwb3RlbnRpYWxs eSBtaXNzIG1hbnkgYnVncy4NCj4+DQo+PiBJZmRlZiBvdXQgX19IQVZFX0FSQ0hfKiBkZWZpbmVz IG9mIHRoZXNlIGZ1bmN0aW9ucyB3aGVuIEtBU0FOIGlzDQo+PiBlbmFibGVkLCBzbyB0aGUgZ2Vu ZXJpYyBpbXBsZW1lbnRhdGlvbnMgZnJvbSBsaWIvc3RyaW5nLmMgd2lsbCBiZSB1c2VkLg0KPj4N Cj4+IFdlIGNhbid0IGp1c3QgcmVtb3ZlIHRoZSBhc20gZnVuY3Rpb25zIGJlY2F1c2UgZWZpc3R1 YiB1c2VzIHRoZW0uDQo+PiBBbmQgd2UgY2FuJ3QgaGF2ZSB0d28gbm9uLXdlYWsgZnVuY3Rpb25z IGVpdGhlciwgc28gZGVjbGFyZSB0aGUgYXNtDQo+PiBmdW5jdGlvbnMgYXMgd2Vhay4NCj4+DQo+ PiBSZXBvcnRlZC1ieTogS3llb25nZG9uIEtpbSA8a3llb25nZG9uLmtpbUBsZ2UuY29tPg0KPj4g U2lnbmVkLW9mZi1ieTogQW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