Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp633720pxv; Thu, 22 Jul 2021 08:38:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWO2ekZhNQGGhgNvwGcHCXJ7xrR/iktD3NVdZj/VZ9xPW7GCPQ/06cEwOLzrCDq1ZZ/bps X-Received: by 2002:a17:906:aad9:: with SMTP id kt25mr530564ejb.48.1626968287478; Thu, 22 Jul 2021 08:38:07 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g2si13066942edb.596.2021.07.22.08.37.43; Thu, 22 Jul 2021 08:38:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=EIBBJjug; dkim=fail header.i=@synopsys.com header.s=selector1 header.b=aiooDNAn; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232749AbhGVOyW (ORCPT + 99 others); Thu, 22 Jul 2021 10:54:22 -0400 Received: from smtprelay-out1.synopsys.com ([149.117.87.133]:45466 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232766AbhGVOyT (ORCPT ); Thu, 22 Jul 2021 10:54:19 -0400 Received: from mailhost.synopsys.com (badc-mailhost1.synopsys.com [10.192.0.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mailhost.synopsys.com", Issuer "SNPSica2" (verified OK)) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 9C5EFC0D1A; Thu, 22 Jul 2021 15:34:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1626968094; bh=BUmPkDLja1uFLv96/XaBMTZsg8QTHky2W5R4FFmrI0A=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=EIBBJjugEky3JsM7pf0+Ro1POZNEpA6I0endH1gjRIsXabif4tbTX13wdSJ+6QjD+ +gupSERS45/x83PZeXCIlNP/0KCqeF3C8f5Co24jStQe0xLALliO3W6be1xwTewoDd ks4P/B+mKp5T5SH3wZhXNeJl+OYiCsfJOz+Dvz2WaJXslqAacXnQ/IiW796m56O6kZ m5veQ10zPJWEy3oFDpBDGX5vPsx/R9w3o8+pje/aA69xQrNEs2qramTLnXCSnwgZgd nLDbEfKsgC3w50wkvQdlu+HzOEs7vyYNEQNhnKweCLi1H6bQciUUuKw+tRk0Ouh+5e umoBaTUMc7W5A== Received: from o365relay-in.synopsys.com (us03-o365relay1.synopsys.com [10.4.161.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "o365relay-in.synopsys.com", Issuer "Entrust Certification Authority - L1K" (verified OK)) by mailhost.synopsys.com (Postfix) with ESMTPS id 60522A0071; Thu, 22 Jul 2021 15:34:41 +0000 (UTC) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2171.outbound.protection.outlook.com [104.47.55.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by o365relay-in.synopsys.com (Postfix) with ESMTPS id EEC3E8145C; Thu, 22 Jul 2021 15:34:33 +0000 (UTC) Authentication-Results: o365relay-in.synopsys.com; dmarc=pass (p=reject dis=none) header.from=synopsys.com Authentication-Results: o365relay-in.synopsys.com; spf=pass smtp.mailfrom=vgupta@synopsys.com Authentication-Results: o365relay-in.synopsys.com; dkim=pass (1024-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.b="aiooDNAn"; dkim-atps=neutral ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Gvs7Igd15MDCOZ3H2UErwkI7rrwKjGclHqmf/Aj5ToYKPLF4TX1Q2a1fgHZsixzGYU6+2oN11C2D5jgnuuFHZ7E4jKEJkeeDwxis0u1LoR0XlugOviZ59dkMENO1B7q6eITDomzgZowcU734Fos3DPiZbJni0JYa3xj/V3cJZVWA3ji64+SD8bB/mCwFFYy7y7e912UbsDKeDI6IGD3W+4uBqA2XBSRAG91W57PPJDz4DychN9jCWSAGhfC6vhG/ewiIt8yTVssGKfQP2La5M1H//yY4L/s6k744IVB5SEHL0qsF3uFQ6SUJVuKhA68LqWz1X3kgSlNWQZiV/7PyAw== 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=BUmPkDLja1uFLv96/XaBMTZsg8QTHky2W5R4FFmrI0A=; b=KYr+WbDIrMqOjBtbHDrnV395/meOSgByulfyVeIYS/FExybBYe6eisO8R3TnNASghvHanre4zL4pgZA4CRNwxOcLAzV78NXpj6abD40WA/t8OA0ugMRB6rG8GgUKFjCdYbMbtWH+rJ8SdiHV2zt7qP97FSk9ACxf+ly/896SjnNW7VKHqPBocmGKl5E5S5iHcANkwIzgNns/68sXcRS9aBZde9wLWCrgNe6k9zPXMS3dmMcYlhQFNmr5IdT2AqISFzSAyWz2n4fpIR0YSUhQ3GVSdzx293nEre0yJSCbKlpnplhkUoqC4y1rxVYQOwciRsZf9cQkr3wocW0fprxTIA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=synopsys.com; dmarc=pass action=none header.from=synopsys.com; dkim=pass header.d=synopsys.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=synopsys.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BUmPkDLja1uFLv96/XaBMTZsg8QTHky2W5R4FFmrI0A=; b=aiooDNAn7Gf4KLOsE97sIs0YcAwQ7fBI+30gcSsyK19oOGc2BSVQJ9fm675PQ6uSfeztqJ/oRDTgxvKb7qt3BXp99KPIGpuhV/ryEIRkgGqwMmjyOKKdndt4iDsOxARKDQAnUxoRFMMtsNyT1+n7bxof6wD1lI0O8wklP+j0Qe0= Received: from BYAPR12MB3479.namprd12.prod.outlook.com (2603:10b6:a03:dc::26) by BY5PR12MB4051.namprd12.prod.outlook.com (2603:10b6:a03:20c::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.25; Thu, 22 Jul 2021 15:34:31 +0000 Received: from BYAPR12MB3479.namprd12.prod.outlook.com ([fe80::acbd:42ac:9bab:39ee]) by BYAPR12MB3479.namprd12.prod.outlook.com ([fe80::acbd:42ac:9bab:39ee%3]) with mapi id 15.20.4331.034; Thu, 22 Jul 2021 15:34:31 +0000 X-SNPS-Relay: synopsys.com From: Vineet Gupta To: Arnd Bergmann , "linux-arch@vger.kernel.org" CC: Arnd Bergmann , "James E.J. Bottomley" , Al Viro , Anton Ivanov , Brian Cain , Chris Zankel , Christian Borntraeger , Christoph Hellwig , Guo Ren , Heiko Carstens , Helge Deller , Jeff Dike , Linus Walleij , Max Filippov , Michal Simek , Richard Weinberger , Thomas Bogendoerfer , Vasily Gorbik , Yoshinori Sato , "linux-csky@vger.kernel.org" , "linux-hexagon@vger.kernel.org" , "linux-ia64@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-mips@vger.kernel.org" , "linux-parisc@vger.kernel.org" , "linux-s390@vger.kernel.org" , "linux-snps-arc@lists.infradead.org" , "linux-um@lists.infradead.org" , "linux-xtensa@linux-xtensa.org" , "uclinux-h8-devel@lists.sourceforge.jp" Subject: Re: [PATCH v3 4/9] arc: use generic strncpy/strnlen from_user Thread-Topic: [PATCH v3 4/9] arc: use generic strncpy/strnlen from_user Thread-Index: AQHXfvf8c+XCb73zs0+6DIklrzt0SqtPIDGA Date: Thu, 22 Jul 2021 15:34:31 +0000 Message-ID: References: <20210722124814.778059-1-arnd@kernel.org> <20210722124814.778059-5-arnd@kernel.org> In-Reply-To: <20210722124814.778059-5-arnd@kernel.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 authentication-results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=synopsys.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ec03b6d6-36b6-418f-a43e-08d94d263399 x-ms-traffictypediagnostic: BY5PR12MB4051: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:466; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 7Ze4QZoZrS/OGnzY/ThZU1iOBTj4Wxus30kAe++63CnGmoI6DafaY5PRSnuOg+F93BUUSKBJzjB2js3ekTBommfasCh/F4EDJY4mfyzE8UGWkXvTHhbTh2otH7K4Tqdl6et+HBu5lXGZ4fVHxeKtmObZnpegKCk1UWV5SSzWcgb6oS9mheqkYwp1Ap3hiNZcHHcF9TpzUeN+5PFjspFrOLxRptD/EfWJG6xrN+1b1jTDoaE7QiExNCDgWRaXNYCEduexciDMMpsvHZbdd60r9Hr8Q9vqHaZuGpAEIfFTlBas82Fyx1dB1WUBg9ARsXK4wHBe9DRALZ0fBrIQ4tCr7Zkzmidb6e914zGDpCMNO2yZ+Prjtqew6Q/Othl2o1f3SJJGNm+ATX47BffPULvYsjJUQWOeUJI/9YmYAq170Hmgn3gJMaWcQlTp0ZC9vhV55PZBuLm7/GMwru+z0+rfxRIQ9hezI4MPIgGxZe61fjjBnXv7FUJfBUwFVo/t1/LSOcrLzauJjTpIDO0pZ8GganXwduiKVDLr7qo+sGQCAbvJTbVWKwTdHQAxWsJmvmAltieVW8r1DUFSJXRuweuYlFMq0B+pDTBTHsLVYmmhW7lo2M2W4xGgrDOKajPujpmFfr06LMyBIBViG8Yat3dK0hob4Z3wUSl1Jz4j184CYccXrqUxwdD8N4eVfuYxtB+eHsE3dSZCY6mDYLP+KUU3apxtHPs5cu69Efzlak6TbgGy3GoPIyN+CzgmQHQ+zUwZbM/VMl4QMIQO9sH9EHrkLTN9ZycTT1lwDReYfq+hjBo= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR12MB3479.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(376002)(39860400002)(366004)(136003)(396003)(346002)(6512007)(2616005)(71200400001)(8676002)(7416002)(478600001)(8936002)(4326008)(110136005)(7406005)(316002)(54906003)(6486002)(2906002)(53546011)(5660300002)(83380400001)(186003)(31686004)(38100700002)(66476007)(66446008)(64756008)(31696002)(66556008)(6506007)(86362001)(26005)(36756003)(66946007)(122000001)(76116006)(41533002)(45980500001)(43740500002)(38070700004);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?ZWVDeE1LU0pLRHpjb2dQKzBiaTNPcVg3bldUUmdpTXZhT1grWURhaml4QXJv?= =?utf-8?B?K0N6d2NLRFNQYkVXaHo5OTBnWHQwT1Q5R2V1aUFzeFQ2MmhzVHlXT0dNZ3Q1?= =?utf-8?B?TkVWa082V2xDMHlxUDB6Mkd6dGhnTVN3bVYzZDd2Y3JjS0ZHek9vREhwcThy?= =?utf-8?B?WjQ5cG85d2h0Zk45NzNxWERLTFJYTEpnTWlWZXdiNnFNSkJRR1Bub1RLSHdw?= =?utf-8?B?YXlrcVQ1UG1LODdBaUkxMUZ1aHVkNXpING8xekZhWEFpMWlTaHl6alE0enFp?= =?utf-8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cms0ZjM4?= =?utf-8?B?ZDgwbEg1eko5S2FENDRMSzZkVEtzVmljdU9hSlBjNlhOV3lZWFJPZDk0YXhD?= =?utf-8?B?Yk9ybDU2alhwczVURXdPNStBYkxhRklKeVpDRU9DclRmS01OZ1NMZStCaVVm?= =?utf-8?B?cnlxOUx0VE8wUmNqbSt4OERhVFpUSXVpTFhpbVVtL3lZZ1J3NXY5OGNnSTRx?= =?utf-8?B?N01WcDFRalBnNnZuVHBhMDlnTStOTW44c21sbk1wdWp4WStaOEZXZXl5Uzd3?= =?utf-8?B?VGs1cjFjVzJxc2tHdmRLV0VTN0Z0S0wrc0JRSFVOSTJ3Si9zaG5nRk9Qb1Ft?= =?utf-8?B?OWMrM0Q1dG4xSnk1cVRxZEpWU2pJd3ZGWUZpay9hVlJoNnM2WkJ1elBkQ1FC?= =?utf-8?B?VnUvc2Z2S3JvSHByUHNaOXhNNk1rc0tjZkxVRHYrSVlSSHdBZTd3Y3ZXdFBQ?= =?utf-8?B?MFZ1MGM3VmpGZVVtTE5oK3ZoTGJOa3A0L2JxYkVFSDk2QjZLMnRTa0ZoZEsz?= =?utf-8?B?ZkxRUnk2WkI1b1ZFb01VbXFOTDErWTJ0d3Q2ZDJKamVoMWM5L2s5NXZvUkFu?= =?utf-8?Q?2fHhAKVPSWZZWvACs0=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <73F9861E435C6E489C89616888EB6F96@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: synopsys.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR12MB3479.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ec03b6d6-36b6-418f-a43e-08d94d263399 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jul 2021 15:34:31.7829 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: c33c9f88-1eb7-4099-9700-16013fd9e8aa X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: BOC0QwW4JOMjzcPFA2Q5I4qw3NXUoEet0AYLJGf9kjCxGZYBT+GgNCH3P1sgynooHp67EE7OKcLm8F/OJ0lEBQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4051 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gNy8yMi8yMSA1OjQ4IEFNLCBBcm5kIEJlcmdtYW5uIHdyb3RlOg0KPiBGcm9tOiBBcm5kIEJl cmdtYW5uIDxhcm5kQGFybmRiLmRlPg0KPg0KPiBSZW1vdmUgdGhlIGFyYyBpbXBsZW1lbmF0aW9u IG9mIHN0cm5jcHkvc3RybmxlbiBhbmQgaW5zdGVhZCB1c2UgdGhlDQo+IGdlbmVyaWMgdmVyc2lv bnMuICBUaGUgYXJjIHZlcnNpb24gaXMgZmFpcmx5IHNsb3cgYmVjYXVzZSBpdCBhbHdheXMgZG9l cw0KPiBieXRlIGFjY2Vzc2VzIGV2ZW4gZm9yIGFsaWduZWQgZGF0YSwgYW5kIGl0cyBjaGVja3Mg Zm9yIHVzZXJfYWRkcl9tYXgoKQ0KPiBkaWZmZXIgZnJvbSB0aGUgZ2VuZXJpYyBjb2RlLg0KPg0K PiBTaWduZWQtb2ZmLWJ5OiBBcm5kIEJlcmdtYW5uIDxhcm5kQGFybmRiLmRlPg0KDQpMR1RNLiBU aHggZm9yIGRvaW5nIHRoaXMgQXJuZCAhDQoNCkFja2VkLWJ5OiBWaW5lZXQgR3VwdGEgPHZndXB0 YUBzeW5vcHN5cy5jb20+DQoNCi1WaW5lZXQNCg0KPiAtLS0NCj4gICBhcmNoL2FyYy9LY29uZmln ICAgICAgICAgICAgICAgfCAgMiArDQo+ICAgYXJjaC9hcmMvaW5jbHVkZS9hc20vdWFjY2Vzcy5o IHwgODMgKystLS0tLS0tLS0tLS0tLS0tLS0t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