diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2022-01-08 09:34:50 -0600 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2022-01-08 12:42:35 -0600 |
commit | a0287db0f1d6918919203ba31fd7cda59bf889e8 (patch) | |
tree | 841849d2d376f432d837751f0f1d21c133a91b2d /kernel/up.c | |
parent | 98b24b16b2aebffabf5b8670f44f19666c1e029f (diff) |
signal: Have prepare_signal detect coredumps using signal->core_state
In preparation for removing the flag SIGNAL_GROUP_COREDUMP, change
prepare_signal to test signal->core_state instead of the flag
SIGNAL_GROUP_COREDUMP.
Both fields are protected by siglock and both live in signal_struct so
there are no real tradeoffs here, just a change to which field is
being tested.
Link: https://lkml.kernel.org/r/20211213225350.27481-1-ebiederm@xmission.com
Link: https://lkml.kernel.org/r/875yqu14co.fsf_-_@email.froward.int.ebiederm.org
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel/up.c')
0 files changed, 0 insertions, 0 deletions