Thread (27 messages) 27 messages, 5 authors, 2021-08-21

Re: [PATCH] coredump: Limit what can interrupt coredumps

From: Olivier Langlois <hidden>
Date: 2021-08-21 17:21:06
Also in: linux-fsdevel, lkml

Possibly related (same subject, not in this thread)

On Sat, 2021-08-21 at 10:51 -0600, Jens Axboe wrote:
On 8/21/21 10:47 AM, Olivier Langlois wrote:
quoted
Jens,

your patch doesn't compile with 5.12+. AFAIK, the reason is that
JOBCTL_TASK_WORK is gone.

Wouldn't just a call to tracehook_notify_signal from do_coredump be
enough and backward compatible with every possible stable branches?
That version is just for 5.10, the first I posted is applicable to
5.11+
Ok, in that case, I can tell you that it partially works. There is a
small thing missing.

I have tested mine which I did share in
https://lore.kernel.org/io-uring/87pmwt6biw.fsf@disp2133/T/#m3b51d44c12e39a06b82aac1d372df05312cff833 (local)

and with another small patch added to it, it does work.

I will offer my patch later today.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help