[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFxgEySMkG=0iO_v9aje7nik6XR3mZYc=4jpNzr9oDqtKA@mail.gmail.com>
Date: Fri, 15 Sep 2017 12:08:09 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: John Ogness <john.ogness@...utronix.de>,
Andy Lutomirski <luto@...nel.org>,
Al Viro <viro@...iv.linux.org.uk>,
Andrew Morton <akpm@...ux-foundation.org>,
Borislav Petkov <bp@...en8.de>,
Brian Gerst <brgerst@...il.com>,
Kees Cook <keescook@...omium.org>,
Linux API <linux-api@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>,
Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>,
Tycho Andersen <tycho.andersen@...onical.com>,
Ingo Molnar <mingo@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
stable <stable@...r.kernel.org>
Subject: Re: [PATCH] fs/proc: report eip/esp in /prod/PID/stat for coredumping
Ingo, I'm assuming I'll get this from the -tip tree, which is where I
got the original commit that this fixes.
Thanks,
Linus
On Thu, Sep 14, 2017 at 8:37 AM, Thomas Gleixner <tglx@...utronix.de> wrote:
> On Thu, 14 Sep 2017, John Ogness wrote:
>
>> Commit 0a1eb2d474ed ("fs/proc: Stop reporting eip and esp in
>> /proc/PID/stat") stopped reporting eip/esp because it is
>> racey and dangerous for executing tasks. The comment adds:
...
>> Partially revert the change and make the readout possible for
>> tasks with the proper permissions and only if the target task
>> has the PF_DUMPCORE flag set.
>
> Duh, I completely forgot about mini core dumper when I acked that commit.
>
> Reviewed-by: Thomas Gleixner <tglx@...utronix.de>
Powered by blists - more mailing lists