Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1201107ybk; Thu, 14 May 2020 03:04:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoobXrQmjva9gZpFkK4DBqOwRa9Lk2zjer3tfVSKyPE+DF7opPCxL/wNUJ7RQ21W0i7iP+ X-Received: by 2002:a05:6402:cb4:: with SMTP id cn20mr530976edb.150.1589450692945; Thu, 14 May 2020 03:04:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589450692; cv=none; d=google.com; s=arc-20160816; b=w2na2wkE7YK6k079t8njK7xOdDjtrv7BwTBoZ55kf1rNsiK6Oc+M6h/Ff8inwG7c3Q Hx3xqSw1S2ZQmPjvJBJAu8UgDrGfz1b/w8ItR2WMorkG8bR+SmUU6FhTJ6lGBah0rr3+ tHKbY3hlhdAMQLLU6/w4WYU2/awFWMJXFpANUKlEBJ3sdaj0MJIBFF9uUfAdk0C6I9tp KfP/LrHbwXHu6t3U4LE6A1zJDG1MM43ZCiY6W6Lgdh1wG8Y4sra00yGZNwR4TvfWQL/d 3WwsqNxrIRbv9p6hCUx8DncMlN2bMImAQ6+n9kcT9cDi4FHU1Fv8rHptWxtlweqiC1nb uOug== 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=H73QEmHwQd20xYevFElQpIKANCODWK/qnzZH4ZBOS7o=; b=bc4dfXsV9HH/vw9nQniMuFbdLz7nbuh3HaXGXQshu7m0N7DLLKWCcr+xgz+c5VfaDt OZLBfSu4iVyxhlKslS3D7gl82wPYelK5c2DkhNSMNcM5AedmEknbL+ACFuy3O4dqR0Hj 2aCtsG3fmvI5ChW33lZaVvL6PB6rd9vOUV0mtkBKHhwbK+YZScWmzSi7bb8731ITRTau 0NJyyguvjExJZC/yxo7NpVJFFhuzljSV/yYY0/lbUeMwgpdntoS6rX7JVRaLnIsn84vL IRkU6/cYPnt7JaxGP9lczN1ctmhAXBv1BquWNeqBs3R73oYJo8MQj3O+znmEjx+z8a7Q zSRg== 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 nj6si1506634ejb.292.2020.05.14.03.04.28; Thu, 14 May 2020 03:04:52 -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 S1726128AbgENKBv (ORCPT + 99 others); Thu, 14 May 2020 06:01:51 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([146.101.78.151]:43662 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726067AbgENKBv (ORCPT ); Thu, 14 May 2020 06:01:51 -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-179-I2TpioJnO02MgCgI8UoE-Q-1; Thu, 14 May 2020 11:01:46 +0100 X-MC-Unique: I2TpioJnO02MgCgI8UoE-Q-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; Thu, 14 May 2020 11:01:45 +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; Thu, 14 May 2020 11:01:45 +0100 From: David Laight To: 'Daniel Borkmann' , Al Viro CC: Christoph Hellwig , Linus Torvalds , the arch/x86 maintainers , Alexei Starovoitov , Masami Hiramatsu , Andrew Morton , "linux-parisc@vger.kernel.org" , linux-um , Netdev , "bpf@vger.kernel.org" , Linux-MM , Linux Kernel Mailing List , "bgregg@netflix.com" Subject: RE: [PATCH 11/18] maccess: remove strncpy_from_unsafe Thread-Topic: [PATCH 11/18] maccess: remove strncpy_from_unsafe Thread-Index: AQHWKYLaQq1MCiy4bEiOMK61mlvZyainWQNA Date: Thu, 14 May 2020 10:01:45 +0000 Message-ID: <6ca8d8499bf644aba0b242d194df5a60@AcuMS.aculab.com> References: <20200513160038.2482415-1-hch@lst.de> <20200513160038.2482415-12-hch@lst.de> <20200513192804.GA30751@lst.de> <0c1a7066-b269-9695-b94a-bb5f4f20ebd8@iogearbox.net> <20200513232816.GZ23230@ZenIV.linux.org.uk> <866cbe54-a027-04eb-65db-c6423d16b924@iogearbox.net> In-Reply-To: <866cbe54-a027-04eb-65db-c6423d16b924@iogearbox.net> 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 X-Mimecast-Spam-Score: 0 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 RnJvbTogRGFuaWVsIEJvcmttYW5uDQo+IFNlbnQ6IDE0IE1heSAyMDIwIDAwOjU5DQo+IE9uIDUv MTQvMjAgMToyOCBBTSwgQWwgVmlybyB3cm90ZToNCj4gPiBPbiBUaHUsIE1heSAxNCwgMjAyMCBh dCA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