Skip to content
Unverified Commit c044a950 authored by Oleg Nesterov's avatar Oleg Nesterov Committed by Christian Brauner
Browse files

signal: fill in si_code in prepare_kill_siginfo()



So that do_tkill() can use this helper too. This also simplifies
the next patch.

TODO: perhaps we can kill prepare_kill_siginfo() and change the
callers to use SEND_SIG_NOINFO,  but this needs some changes in
__send_signal_locked() and TP_STORE_SIGINFO().

Reviewed-by: default avatarTycho Andersen <tandersen@netflix.com>
Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
Link: https://lore.kernel.org/r/20240209130620.GA8039@redhat.com


Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent f0ece18e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment