Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5945657ybi; Wed, 12 Jun 2019 11:09:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZYmXJxhWuzOC0zBCrTtPlwziIESq3vHifSSUDugwmbY9pVG2TcRXkFXCKE4NAOTPocq8G X-Received: by 2002:a17:90a:3463:: with SMTP id o90mr500993pjb.15.1560362963859; Wed, 12 Jun 2019 11:09:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560362963; cv=none; d=google.com; s=arc-20160816; b=eGWpARC7DXekuy01RPVEhLquYEahqKC4av82NUMS3gOAMALMsbdpJ/Q+30H+vfxmu9 OiUPXYw/CoVxajasokP8mZC3bej0VayQmLWbtIz0/WGu6K+bIKH4xk56jEHfub5q8/ux yIYmFQPYArCmhNtCq0GML7wX5sRjxrL4fO9NxJAN+VT0aI6hfbBTes+C3uaqhQtKZ3CD o/3Ac3pXJ1SpHC1tdfyKVytXEX1rBhkHkhuGK3eqVfjBlByf1GSybW2EuQOn3fiu/aGz vZVvC2Oz/zEwZEhMXL7DJ8EoDLzozpyyUrdDWn+xND4ouOt6hkiyn/BTpVpMYq4KpE+A QndA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=JMNn8UaGTOpyvj+ruZQU6xAEQkuuPXT/CSFoXKWYSTg=; b=lPbKJ5xbCeFG6E5haqLMNr1TLEHFU8Vu+bmBqFthSmP8PZbyCwyRgIimBAoHbudBYY 94k0uGfcapO9M7fSFFH3eOBMfGESs6m0+YQKmHsQ1JzB75vSSEkD7cqiRPbZDBPQKo/k Q7051NyRxjWrT/iN3kEWrZcpBkcFhl1jKubXhFQzMeVOeyNzjkMrrhsXfzGQlXVIg+0Q BxzlwvByKhzwovARZt8sduKJbeuvq/3x2jdywv7h9DoOzp5Nw+i1c/iqVdg3KANpY+hf riQC7pwobvviH8oOKdryWg4NlIelfxm/W5uYZmQupZV9437k7o3NGuyI2hnyiwALQ+5G vMVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=nvZjGRpp; 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 h63si385028pfb.90.2019.06.12.11.09.09; Wed, 12 Jun 2019 11:09:23 -0700 (PDT) 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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=nvZjGRpp; 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 S2387950AbfFLRwL (ORCPT + 99 others); Wed, 12 Jun 2019 13:52:11 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:40352 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387793AbfFLRwL (ORCPT ); Wed, 12 Jun 2019 13:52:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=JMNn8UaGTOpyvj+ruZQU6xAEQkuuPXT/CSFoXKWYSTg=; b=nvZjGRppi4S3cpkBc8m3JTdjYT FWvUaQjWBjaIvXGpfqmjKo+Q9hH5l0xcbBIV/CXd3TSGC61MPcEwsYCZsFfFXOuakydSmKugeufPf JNZaEvrbxhA/Z266bAXOLvQHdSveVg/oracJB21QFYlYZ/I+9z0DfQDjNc95GsKWzwE15QpwT5Kd7 AmPiGw0s7bcI9sIYy5/s4A0h8bIilnzuUL1j0jXG/uJf27lvXKDtN8c1Y0lNyI/thm2y9JLKuR7KI aXpFuM+DYb8bDPtreaoucaSo64FMPAW4x2PsGTaKbEGv0eYRaqAeuJd73+Mr8atVnNZc1vEvsnkDw srPlKzPg==; Received: from willy by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1hb7Pj-0002AT-Un; Wed, 12 Jun 2019 17:51:59 +0000 Date: Wed, 12 Jun 2019 10:51:59 -0700 From: Matthew Wilcox To: Michal =?iso-8859-1?Q?Koutn=FD?= Cc: gorcunov@gmail.com, linux-mm@kvack.org, Laurent Dufour , linux-kernel@vger.kernel.org, Kirill Tkhai Subject: Re: [RFC PATCH] binfmt_elf: Protect mm_struct access with mmap_sem Message-ID: <20190612175159.GF32656@bombadil.infradead.org> References: <20190612142811.24894-1-mkoutny@suse.com> <20190612170034.GE32656@bombadil.infradead.org> <20190612172914.GC9638@blackbody.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190612172914.GC9638@blackbody.suse.cz> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 12, 2019 at 07:29:15PM +0200, Michal Koutn? wrote: > On Wed, Jun 12, 2019 at 10:00:34AM -0700, Matthew Wilcox wrote: > > On Wed, Jun 12, 2019 at 04:28:11PM +0200, Michal Koutn? wrote: > > > - /* N.B. passed_fileno might not be initialized? */ > > > + > > > > Why did you delete this comment? > The variable got removed in > d20894a23708 ("Remove a.out interpreter support in ELF loader") > so it is not relevant anymore. Better put that in the changelog for v2 then. or even make it a separate patch.