Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1181003imu; Tue, 20 Nov 2018 13:04:46 -0800 (PST) X-Google-Smtp-Source: AJdET5c1SHSRj1sIRdLaFCtYDcMNqu3KEAc0ASp1KPrKinIg1VPnyyY6hTRX1uC2GipAItMsl+BX X-Received: by 2002:a65:5c4b:: with SMTP id v11mr3336392pgr.333.1542747886690; Tue, 20 Nov 2018 13:04:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542747886; cv=none; d=google.com; s=arc-20160816; b=GvmEkBfLujLmQ3h6HCVo3YBzHPm1hYroVWgo+H7gNaoEou8e78NxPSKqM6ZydkgmYW m9rjIRSaUUHWojD7/9Pp6eZWejhIdLfFCOglgLbrkVfF9TZBTR8Nu+C2zJZsBLzoiy8y 36nTyAfFgREyNa5E3eIfh12nS+O2apX5lz7aVyWxW5Lrf6FXez3XN1oaoXoz5LB+Uvfz s0eAQ4DsHbqsEcIdf/RuMxN79sZ+5/wXLgnrJLO8M591D8VsvFhE1oK6l/6Oxi1uPPKW ErLgu2zs716HY0OrFQV06PGe841CsT6hWQN/AydjYFwDYdXVLKN/1cRx5+PMYthkaQ5/ VMCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=xOgu9CHgRdvVC8BNl0+rcQIQnc1YgQR1dH9eCpEbN9M=; b=Bzu5+M79xU64Px51E+Wos/nEjkmFiKy5Vv5RBsy6cnbRoKGcrsSw4Z1eVVe1iz90Jx eUZ3gcgRCBWIFBwnE2WX+AVqOQconNX/qcsmq0/wJZIScVA/wyTjUNic6hoKn5cK84i2 fzN5MlOMn/Yxn/xRQpqhB4MorQGclYhiTqFg3xlZDb39PFaMR/Du5XVbThP8SnaHAlbW B+P4cqb1OQbt2uFgAlQ4n+KZafkJykVKK77Gv4lIzKajvvl7UsrliaXx2SpvjNOGXgUR LHLYFNeDEoy33WYMYiDJittZ6GAnh8HNfckJp3OvoMNSbeUsHFIXt91NrowhjTVafNLL b+hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=HFWEa+JM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t74si33433921pgc.150.2018.11.20.13.04.28; Tue, 20 Nov 2018 13:04:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=HFWEa+JM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727239AbeKUGiM (ORCPT + 99 others); Wed, 21 Nov 2018 01:38:12 -0500 Received: from ozlabs.org ([203.11.71.1]:33191 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725977AbeKUGiM (ORCPT ); Wed, 21 Nov 2018 01:38:12 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 42zxZC6dgKz9s4s; Wed, 21 Nov 2018 07:07:15 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1542744437; bh=mNKQiB+Yp+9B2gXTKy18+MrbRbKbCf5nPorI3AsHS6I=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=HFWEa+JMyspZ+HH6SODGo+J8qGt/Qnu6aoRnk+Exg8bn27J8bPvzAA6EWDpDumQ0s 2vFeb+mepagUsVfsWE+3UT78nYqXQpEUaRVuWcsYKeQTlJFePujAoy98pIQTJ9A47v kiCtuGO9LYe4dZLTw5GKKaR1HbRwTPi7B/UjT9sOhF+zaJY1TDNeu/itEQq/RXVwWb HdsjzRnUcOd7p5LPOm3PuFdyeQbeKs96uDfBV7AIUmuZMD6w+XGU62QROn4/p79e6Z GN1J7gEo6obnc4Fd0BCh3rpek9M0N+wCThKhuES/l/A/uV0FYYLb/EUDSwj2wpzQ+w auAEURn8wsffg== Date: Wed, 21 Nov 2018 07:07:06 +1100 From: Stephen Rothwell To: Joel Fernandes Cc: Andy Lutomirski , LKML , Andrew Morton , Hugh Dickins , Jann Horn , Khalid Aziz , Linux API , "open list:KERNEL SELFTEST FRAMEWORK" , Linux-MM , marcandre.lureau@redhat.com, Matthew Wilcox , Mike Kravetz , Shuah Khan Subject: Re: [PATCH -next 1/2] mm/memfd: make F_SEAL_FUTURE_WRITE seal more robust Message-ID: <20181121070658.011d576d@canb.auug.org.au> In-Reply-To: <20181120183926.GA124387@google.com> References: <20181120052137.74317-1-joel@joelfernandes.org> <20181120183926.GA124387@google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/ooUNGYHyJAbidRTGc1JxAN0"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/ooUNGYHyJAbidRTGc1JxAN0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Joel, On Tue, 20 Nov 2018 10:39:26 -0800 Joel Fernandes = wrote: > > On Tue, Nov 20, 2018 at 07:13:17AM -0800, Andy Lutomirski wrote: > > On Mon, Nov 19, 2018 at 9:21 PM Joel Fernandes (Google) > > wrote: =20 > > > > > > A better way to do F_SEAL_FUTURE_WRITE seal was discussed [1] last we= ek > > > where we don't need to modify core VFS structures to get the same > > > behavior of the seal. This solves several side-effects pointed out by > > > Andy [2]. > > > > > > [1] https://lore.kernel.org/lkml/20181111173650.GA256781@google.com/ > > > [2] https://lore.kernel.org/lkml/69CE06CC-E47C-4992-848A-66EB23EE6C74= @amacapital.net/ > > > > > > Suggested-by: Andy Lutomirski > > > Fixes: 5e653c2923fd ("mm: Add an F_SEAL_FUTURE_WRITE seal to memfd") = =20 > >=20 > > What tree is that commit in? Can we not just fold this in? =20 >=20 > It is in linux-next. Could we keep both commits so we have the history? Well, its in Andrew's mmotm, so its up to him. --=20 Cheers, Stephen Rothwell --Sig_/ooUNGYHyJAbidRTGc1JxAN0 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAlv0aWoACgkQAVBC80lX 0GzyDwgAnINJOo+z0k5/uEZUNf1WTX20DuqXkwO5M+usRMxeraxGHTcP0NqYzcE7 tnsF/WBGwqXOrB0//rRttyqg9oHKCZatgDs5SUPIaPXuSCSc8/72uWZxNleiHnMQ CjQwVZbxXzQU1aNT5hplpctUU1Y/MEMqPivy3pcUAPowvbGIYh2TM5OFvIQxqeyU hhRDUzS2ijhyxE65IzYbE9+a90YkBliE0GcR3+92Lfs2+dafP+VI0ExM95niyNaP TFYDevRCS7JwDx4ASR07wsbs1Vs9Y4nA3ZGyCDMVogbqBEx+VQQaGpgwTtkvJhhb m6MpQMsDAMHBBs/2I1f53tSwtuh0kg== =2jN8 -----END PGP SIGNATURE----- --Sig_/ooUNGYHyJAbidRTGc1JxAN0--