diff --git a/fs/coredump.c b/fs/coredump.c index 42c9c3dde764d7163eb951619d07fbbe3fd5f219..a85987fe868d261674c7515d765ef8b6a849cb23 100644 --- a/fs/coredump.c +++ b/fs/coredump.c @@ -520,7 +520,7 @@ static bool dump_interrupted(void) * but then we need to teach dump_write() to restart and clear * TIF_SIGPENDING. */ - return signal_pending(current); + return fatal_signal_pending(current) || freezing(current); } static void wait_for_dump_helpers(struct file *file)