Re: [PATCH v2 1/2] signal: change force_sig_info_to_task() to call __send_signal_locked()

From: Oleg Nesterov

Date: Mon May 04 2026 - 05:27:32 EST


On 05/02, Oleg Nesterov wrote:
>
> force_sig_info_to_task() calls send_signal_locked() but this is pointless;
> info is always valid and has_si_pid_and_uid(info) should never be true.
> Forced signals do not carry si_pid/si_uid, not to mention that info.si_pid
> overlaps with .si_addr/si_call_addr/etc.

https://sashiko.dev/#/patchset/afYGeHSWkLzXDlvC%40redhat.com

Sorry I could not reply earlier...

Oh, I didn't know people use force_sig() to send SIGKILL. I'd say they
should not, but this doesn't matter - they do.

So this needs yet another version. And I will read man grep 3 times.

Thanks again Sashiko.

Oleg.