Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5948236ybi; Wed, 12 Jun 2019 11:11:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqwinA7PhyraD4Mtay9akTtdk+5EP7E4ynUEMlDEVJjrED8fqymldWymbIELY1UtbYMvYkSl X-Received: by 2002:a65:42c9:: with SMTP id l9mr4831384pgp.32.1560363103516; Wed, 12 Jun 2019 11:11:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560363103; cv=none; d=google.com; s=arc-20160816; b=Pa/KwGs2600BZbbsfAWdjI1M/WTmyV4br+QQ6BjzAnkHdlzBZJkOE7tiXMQmjLnCzg pObyTlv3H8wf8CZjg6HkZJwtzk5X/ryktDYNzallG7N2K76vkZdyr0SelHqWyA98R29E YaG30ICFpIEgavgW42THiG725gcuMZLaPv8kShXmxP182UvkUMbzzMd8A7ga+W8p5fPa RcMDP73I9uZ9wzHOfq3vAy9hhBmCbdfIBtJmRF62OuvIfSzAaP0sw0FjN82DH+Nd5U54 7RzK71jvkOijFDIToC+YUIutH+RNze8IiuyBc9L2mf/BFbY5Rp98d9+xJqG/BvQhiBna VNpg== 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=HA7VYYB6HYTnwOsfSZ6IJMiRwVIheU8PeAUQ4SUxsDE=; b=akv5AZDla/OUWVB1gchcNNLMNfwCnT/C8zcMEF3gfhQHQDcZMM2uW9HjrimQkMoJBA 0NPcZAP/Y79hTU7XSxKQZf/J6c/vra0Zbhjk34DdnhCD77m4XXzdSID6dQ7PefeuZ3SN hnOjn77colUF+zx3wTbpBezmU5KqA6V2o1EVbxSAmzgMOuFYq+iGXEl62yR2HtBVz/yX qSvhpHeeHR6Z6g7AfnnNHr67U3NHzniy7Q9oUpYZwTS9Stuwv9M0hMD66Ss5KRFy+13J /iCwbRVt6HbclH1vXITt4DFjKNvdXR/yTmSQRtX2KARLrCrBE+Kv4akPCMAPBGqdbel+ tEog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Z/GOFRJX"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z18si382404pga.321.2019.06.12.11.11.28; Wed, 12 Jun 2019 11:11:43 -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=pass header.i=@gmail.com header.s=20161025 header.b="Z/GOFRJX"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728631AbfFLSET (ORCPT + 99 others); Wed, 12 Jun 2019 14:04:19 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:40202 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728199AbfFLSET (ORCPT ); Wed, 12 Jun 2019 14:04:19 -0400 Received: by mail-lj1-f196.google.com with SMTP id a21so15917549ljh.7 for ; Wed, 12 Jun 2019 11:04:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=HA7VYYB6HYTnwOsfSZ6IJMiRwVIheU8PeAUQ4SUxsDE=; b=Z/GOFRJXw0yo2NclXm9o0hxO/gUmaXJp5lNg1hcuR0tF6112X2HthCJzh8CXxy/QSX Casq6IhYPWFHSOoYCLPqB5YZn+lGzUwQDR1WTAPmX/8rdQITptlPHe92KHb2/yaoL1Qt OGcdLSSG0ZNjV51rjf3jHYjCGK90xs/bev2fp5W1lR0cxH4M1DMEqcSVFwkMuNOQm5xw 6YU/glgO1ALD0evMQ/dDqytfrdWiSyB7glDGSG68T2gHvfxZHd4tJisB95h9lQor2gZu cbJMtpKGYitBwg44ruAKeGOHc2XkjHf/HsoByLHJvjodM4T3nwRt15ULmQgxdTiwyLJ3 C2PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=HA7VYYB6HYTnwOsfSZ6IJMiRwVIheU8PeAUQ4SUxsDE=; b=YX6zDitIyGbbGJW2hwaWSASsQRvidTn3UwXBlGZcb+lcWc3+Fb4K8PjLpSt7gixrkj Y9mP9B/HUz9qqIBxSBsQU4t6E5taKXCW0OWq4DCXgFpfLnMxbp2Yfgj0UOpcagZn+dn/ KpOuwcF2/Rx94ph2MqewiJTixlb1ee7kVxiMxii+F4oYXaqVhKFO67Q6kWQGDuyXyfvk akKJxGE0Bge0Bt2LKUg5VJ/ACVeTqWWCqsjw3OGGuMy5Fcu5LUV5qauZmvVIJNDQ+G/7 vxPrCl6UUtF7JWI0HgYwa1U2tgSZMcIWQxb66NxObQf5EybcKxfDhYAr2U/Zy/0Hz5CE TaQA== X-Gm-Message-State: APjAAAU7LCxIxKuUEUJ8Fu9eUObp5Bacr9FGw/GmJFWk96/GxJwcmCQJ oLs5sD8KBGILugZj53d42xg= X-Received: by 2002:a2e:890a:: with SMTP id d10mr1641465lji.145.1560362657186; Wed, 12 Jun 2019 11:04:17 -0700 (PDT) Received: from uranus.localdomain ([5.18.102.224]) by smtp.gmail.com with ESMTPSA id w205sm96813lff.92.2019.06.12.11.04.15 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 12 Jun 2019 11:04:16 -0700 (PDT) Received: by uranus.localdomain (Postfix, from userid 1000) id 90A854605BC; Wed, 12 Jun 2019 21:04:15 +0300 (MSK) Date: Wed, 12 Jun 2019 21:04:15 +0300 From: Cyrill Gorcunov To: Matthew Wilcox Cc: Michal =?iso-8859-1?Q?Koutn=FD?= , 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: <20190612180415.GE23535@uranus.lan> References: <20190612142811.24894-1-mkoutny@suse.com> <20190612170034.GE32656@bombadil.infradead.org> <20190612172914.GC9638@blackbody.suse.cz> <20190612175159.GF32656@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190612175159.GF32656@bombadil.infradead.org> User-Agent: Mutt/1.11.3 (2019-02-01) 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 10:51:59AM -0700, Matthew Wilcox wrote: > 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. Just updated changelog should be fine, I guess. A separate commit just to remove an obsolete comment is too much.