[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161019161207.GD21216@redhat.com>
Date: Wed, 19 Oct 2016 18:12:08 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: Michal Hocko <mhocko@...nel.org>
Cc: Leon Yu <chianglungyu@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Al Viro <viro@...iv.linux.org.uk>,
Kees Cook <keescook@...omium.org>,
John Stultz <john.stultz@...aro.org>,
Mateusz Guzik <mguzik@...hat.com>,
Janis Danisevskis <jdanis@...gle.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] proc: fix NULL dereference when reading
/proc/<pid>/auxv
On 10/19, Michal Hocko wrote:
>
> Why would we even want to open that file if there is no mm struct?
Agreed this is strange, but I am not sure we can change this old
behaviour. Say, cat /proc/$pid-of-kthread/mem doesn't fail, it shows
the "empty mm".
Oleg.
Powered by blists - more mailing lists