Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1493323ybt; Mon, 15 Jun 2020 01:30:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzStJR9TtbW0Vxk30sIQtltABtqHova5CBgH3PpLiIrz1goSr4Oiy2QQIcni2v6aiWI3wRd X-Received: by 2002:a17:906:f291:: with SMTP id gu17mr25567288ejb.411.1592209808716; Mon, 15 Jun 2020 01:30:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592209808; cv=none; d=google.com; s=arc-20160816; b=iYhxwtqeh0GUT+hOw7MigzkxHcSOIXeXJEdnDnr/B/oZ3HjJnWkoORnXvW+evodWtn ieC0KCmYavR9NAfSynWAcDFScQUmW+in6BYndWmKUJVBfl7XNBNopHn+Q1KcjEpY5A0d uNNL6ceCWe1VaLg8haA7xrIi00HJYFpwa8E5Bbxx8VC++KHcqUxq2pEguFSXUp6f+T88 aIMQXuvp6Cw06nrF+tAyTRfb1TvZ+OCsjMQvcQbuJRooTkPjoswlWcQkG84ncBJANZIY I17UzTmNHiUIqcl9e6Y72P7ooysKwC75Ud2Qrxjo8KSHDKj5IaAo565XdjzXvlaoaDYQ iefw== 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=qdjnJvP5t8LDegWvzPSLF6jnN/rhSGIaTYXnikwPKOg=; b=DPYXDwW828K84MioptzI37+3Mm8pKwcLMm7IK2CS/ucyCXYGlQ91MnE3crgn0QRXCl CsSixCoI5WDO24iCgdraM9h8q4JFhjnN26WuKjIZVmueF/Xe60YD6GdS+QuUWzmq4i6p Xt89r6Rcg+aButSzZ9UgieJg9hSwCLOOJ4folWKrTScONc1XkQGEa8+nhJ3S2TwlmX/i p1uZpsQmPONj5QIoyZ2EG3t/dD24xI/4n6+gkx8hsFbP0y57fZVQXazLqBPZE1Mg7gdr +gSf0sdMPXBuX7LpQq068+hAjpUBMErTq7XUXPxkkM6tQC4U8zKAsLq5OJfw4K8Bx6x1 ZLrQ== 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 y11si8992927edp.319.2020.06.15.01.29.46; Mon, 15 Jun 2020 01:30:08 -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 S1728982AbgFOI1a (ORCPT + 99 others); Mon, 15 Jun 2020 04:27:30 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([146.101.78.151]:53786 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728526AbgFOI13 (ORCPT ); Mon, 15 Jun 2020 04:27:29 -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-243-iJtaD7E4PGOFKa-5GEiBiQ-1; Mon, 15 Jun 2020 09:27:25 +0100 X-MC-Unique: iJtaD7E4PGOFKa-5GEiBiQ-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; Mon, 15 Jun 2020 09:27:24 +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; Mon, 15 Jun 2020 09:27:24 +0100 From: David Laight To: 'Christian Brauner' , Kees Cook CC: Sargun Dhillon , Giuseppe Scrivano , Robert Sesek , Chris Palmer , Jann Horn , Greg Kroah-Hartman , "containers@lists.linux-foundation.org" , "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Matt Denton , Tejun Heo , Al Viro , "linux-fsdevel@vger.kernel.org" , "cgroups@vger.kernel.org" , "David S . Miller" Subject: RE: [PATCH v3 1/4] fs, net: Standardize on file_receive helper to move fds across processes Thread-Topic: [PATCH v3 1/4] fs, net: Standardize on file_receive helper to move fds across processes Thread-Index: AQHWP+BcCi14oegu0U6J73sUpcDiU6jTfHDAgACI+YCAAKH2YIAAp2qKgAQNYhA= Date: Mon, 15 Jun 2020 08:27:24 +0000 Message-ID: References: <202006092227.D2D0E1F8F@keescook> <20200610081237.GA23425@ircssh-2.c.rugged-nimbus-611.internal> <202006101953.899EFB53@keescook> <20200611100114.awdjswsd7fdm2uzr@wittgenstein> <20200611110630.GB30103@ircssh-2.c.rugged-nimbus-611.internal> <067f494d55c14753a31657f958cb0a6e@AcuMS.aculab.com> <202006111634.8237E6A5C6@keescook> <94407449bedd4ba58d85446401ff0a42@AcuMS.aculab.com> <20200612104629.GA15814@ircssh-2.c.rugged-nimbus-611.internal> <202006120806.E770867EF@keescook> <20200612182816.okwylihs6u6wkgxd@wittgenstein> In-Reply-To: <20200612182816.okwylihs6u6wkgxd@wittgenstein> 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.kern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