coredump: introduce struct core_state.
cover coredump: introduce struct core_state.
3rd resend.
Please drop
ptrace-never-sleep-in-task_traced-if-sigkilled.patch ptrace-kill-may_ptrace_stop.patch
, these patches add a user-visible change and shouldn't be merged unless blessed by Roland.
I think this series makes sense by itself, but it is also preparation for the further changes.
Oleg.