Re: [PATCH v2 2/2] signal: make send_signal_locked() take const siginfo

From: Christian Brauner

Date: Mon Jul 06 2026 - 09:00:17 EST


> send_signal_locked() should not change the caller's siginfo. Make that
> part of the type and keep the local rewrite on its copy.
>
> Suggested-by: Oleg Nesterov <oleg@xxxxxxxxxx>
> Signed-off-by: Bradley Morgan <include@xxxxxxxxx>

Reviewed-by: Christian Brauner (Amutable) <brauner@xxxxxxxxxx>

--
Christian Brauner <brauner@xxxxxxxxxx>