Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1559093ybg; Thu, 4 Jun 2020 12:49:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOJ5eqyhzm2ZaiLQkw+qhNCTeG05g8RnVoiSXumAeS7dctNxJCo95q1+ryt1sAEeSjnGag X-Received: by 2002:a17:907:9f0:: with SMTP id ce16mr5153495ejc.476.1591300184243; Thu, 04 Jun 2020 12:49:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591300184; cv=none; d=google.com; s=arc-20160816; b=0oOz1PbX5r9Z3MQg3K2M9+h1j1MTFzCfF0Ib39eOGjui42TKEj8Yosq+vicnmqurB1 t6yECguqRNEiQRvusMMDyEKWVq9ubRdHyct/vVeXzZWTaJdpY8lJ9qODORWNsYtGTNY+ KzgCP91VhgMNk5S1CBSBsamYfbC/GxlFyYk/iIjt3iDdY0F8ilty3V/gkSLqhHfvsfR1 nc+xnBylWrR2fGuyCxCSI/Tx4Poj2PT0l478GX51CM9SXeRrghEWvQERGgI8zv6YxCo7 cVk8Ih0hVIeJeWIPmLCCLiKp9isfubDI1+RVe3u8m8T6qAAEJq++TpHdgXSB866BVv/1 rNIQ== 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=kUn9djT0/8z5ESsy8yTlWiibeQ+wSXfCQy/m8QuW/Ng=; b=y/6B1QlsrLbEQlmrqBg8spj7vcC/kyQVw+dCpLinsp2WJ/DcOg6Hp/ARkQr4iipfC+ 4sFbTYeIPY4PvFXrT8lRj7TgHc1p6wnbie3hNwiIv1KbzCZjp86HN/xnJ3e2UexBr6GW zhf4epmcuMZLN0CzfnZpd4C18me+zr3veHzyHnUiUOaoKcQUn8n36ufXRPbU2to6hJvG y+G/jZBqTasDJZ8EfxM/S/NfCXbBS2PY4GTe0h6SPs0DX3aGneZsT3T0MFx1mzPAfGUL eT9Zxdporyucqb7yq54sBFkdRr0cXITOgJuTofhWhm3tD4mQ7hRdOZNcjbLJJ98wc5Wo tYdg== 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 z13si2202109ejp.589.2020.06.04.12.49.21; Thu, 04 Jun 2020 12:49:44 -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 S1728521AbgFDN2H (ORCPT + 99 others); Thu, 4 Jun 2020 09:28:07 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.86.151]:59734 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728484AbgFDN2H (ORCPT ); Thu, 4 Jun 2020 09:28:07 -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-67-smgdUXOqPqOLrGJKNE45Cg-1; Thu, 04 Jun 2020 14:28:03 +0100 X-MC-Unique: smgdUXOqPqOLrGJKNE45Cg-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, 4 Jun 2020 14:28:02 +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, 4 Jun 2020 14:28:02 +0100 From: David Laight To: 'Christian Brauner' , Kees Cook CC: Sargun Dhillon , "linux-kernel@vger.kernel.org" , Tycho Andersen , Matt Denton , Jann Horn , Chris Palmer , Aleksa Sarai , Robert Sesek , "containers@lists.linux-foundation.org" , Giuseppe Scrivano , Greg Kroah-Hartman , "Al Viro" , Daniel Wagner , "David S . Miller" , John Fastabend , Tejun Heo , "stable@vger.kernel.org" , "cgroups@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" 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: AQHWOm8IcrQ9iML/NEWzIJOikhNiKKjIcAVA Date: Thu, 4 Jun 2020 13:28:02 +0000 Message-ID: References: <20200603011044.7972-1-sargun@sargun.me> <20200603011044.7972-2-sargun@sargun.me> <20200604012452.vh33nufblowuxfed@wittgenstein> <202006031845.F587F85A@keescook> <20200604125226.eztfrpvvuji7cbb2@wittgenstein> In-Reply-To: <20200604125226.eztfrpvvuji7cbb2@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.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogQ2hyaXN0aWFuIEJyYXVuZXINCj4gU2VudDogMDQgSnVuZSAyMDIwIDEzOjUyDQouLg0K PiBGb3Igc2NtIHlvdSBjYW4gZmFpbCBzb21ld2hlcmUgaW4gdGhl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