Re: [RFC PATCH] binfmt_elf: Protect mm_struct access with mmap_sem

From: Matthew Wilcox
Date: Wed Jun 12 2019 - 13:56:50 EST


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 <willy@xxxxxxxxxxxxx> 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.