Re: [RFC] proc, coredump: add CoreDumping flag to /proc/pid/status

From: Roman Gushchin
Date: Wed Sep 13 2017 - 18:22:19 EST


On Thu, Sep 14, 2017 at 01:15:26AM +0300, Alexey Dobriyan wrote:
> > To provide an ability to detect if a process is in the state of
> > being coreduped, we can expose a boolean CoreDumping flag
> > in /proc/pid/status.
>
> Or add "State: C" ?

A program in such state can also sleep and run, so it's not
a state in terms of process states.