Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1308812pxa; Sat, 15 Aug 2020 15:20:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymXF6kPWgeJUDCX82bdXskoB0oKBMMz1t1g18jlBDdbSLGxknel+BB2VlGyMsbwo1XYmPk X-Received: by 2002:a50:e844:: with SMTP id k4mr8395477edn.237.1597530038367; Sat, 15 Aug 2020 15:20:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597530038; cv=none; d=google.com; s=arc-20160816; b=PbWronNIE/MqyccYapgJjitHUzR4xJyNYNDv59oaO+rsA9/BoPfRg7SI/yFeQBXSl+ xi58tr1tGP52eTblSOZz3GIcTgIgQpV6YNMIvkVwZ93gWKAeBR68lf38u1fKgeiFYjIj wrhbpWictFY7IjSc8l14hzXAGJ7K7MMSqxUu2naJAfe1c+fTeqd15mWkt0Cq7CGe6H2J fWdx1kFjJkjlWgFkbVXWyHfeQbOqN9NIr8gWoqbx1LxM7ac1VFiwiMbBLzlFt4kHz2mf IE2qsSiOkvY0PF5hGSwHC//j6i/McHU63DwxwSrGfWWG8YZTZiZsMqBWrElZeTWideR3 mZ4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=jjwRS529e4jXM1da4BrZzROJa1NqYx5Mvr6q0nNLgL8=; b=eQNH8YntRWyxLTUX4R5El0uS5LRdCkscYU00dA/LpGl9nW1HiEIuFiQJbRnJ9yOeW8 Dv6Uqmtzf800UvsW0KlqifnQizsWQ93xS5XlCUImAIeb7rqoVm0GBr9MiLSqGD1TRD5w CntkQyuD0UwzQk+aovvGXwBbplxwA+efhywVX2O7z6Sn041b4nUtO3VNwJXpEjGk52oW QmBZrZ7Z/Du506ZmhL6H/eLjoINWFsIl4nNbSmNhOcUM7TIHwZaQXZArFkhxjRzmnliM aa0pyxkZWPSu5IU9r2t/01JDZNnW4VRy2to3S9eVD9f1HRC7tka00F/VPd8/OeiyxLWA rNVg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v10si8075788ejg.203.2020.08.15.15.20.14; Sat, 15 Aug 2020 15:20:38 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728417AbgHOWRu (ORCPT + 99 others); Sat, 15 Aug 2020 18:17:50 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([207.82.80.151]:37489 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726407AbgHOWRt (ORCPT ); Sat, 15 Aug 2020 18:17:49 -0400 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-194-UGUS_GsnMmaZTp2qO2jNHA-1; Sat, 15 Aug 2020 23:17:45 +0100 X-MC-Unique: UGUS_GsnMmaZTp2qO2jNHA-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Sat, 15 Aug 2020 23:17:44 +0100 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Sat, 15 Aug 2020 23:17:44 +0100 From: David Laight To: 'Nick Desaulniers' , Andrew Morton CC: =?utf-8?B?RMOhdmlkIEJvbHZhbnNrw70=?= , "Eli Friedman" , "stable@vger.kernel.org" , Sami Tolvanen , "Joe Perches" , Tony Luck , Yury Norov , Daniel Axtens , Arvind Sankar , Dan Williams , "Joel Fernandes (Google)" , Andy Shevchenko , Kees Cook , Alexandru Ardelean , "linux-kernel@vger.kernel.org" , "clang-built-linux@googlegroups.com" Subject: RE: [PATCH] lib/string.c: implement stpcpy Thread-Topic: [PATCH] lib/string.c: implement stpcpy Thread-Index: AQHWcppzTiVsnmYgIU+NJ5yVXFbTpak5vH3w Date: Sat, 15 Aug 2020 22:17:44 +0000 Message-ID: <213d67e912f340b0815dd4bd989befce@AcuMS.aculab.com> References: <20200815002417.1512973-1-ndesaulniers@google.com> In-Reply-To: <20200815002417.1512973-1-ndesaulniers@google.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: aculab.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogTmljayBEZXNhdWxuaWVycw0KPiBTZW50OiAxNSBBdWd1c3QgMjAyMCAwMToyNA0KPiAN Cj4gTExWTSBpbXBsZW1lbnRlZCBhIHJlY2VudCAibGliY2FsbCBvcHRpbWl6YXRpb24iIHRoYXQg bG93ZXJzIGNhbGxzIHRvDQo+IGBzcHJpbnRmKGRlc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