Commit c044a95
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: Tycho Andersen <tandersen@netflix.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Link: https://lore.kernel.org/r/20240209130620.GA8039@redhat.com
Signed-off-by: Christian Brauner <brauner@kernel.org>1 parent f0ece18 commit c044a95
1 file changed
Lines changed: 6 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3793 | 3793 | | |
3794 | 3794 | | |
3795 | 3795 | | |
3796 | | - | |
| 3796 | + | |
| 3797 | + | |
3797 | 3798 | | |
3798 | 3799 | | |
3799 | 3800 | | |
3800 | 3801 | | |
3801 | | - | |
| 3802 | + | |
3802 | 3803 | | |
3803 | 3804 | | |
3804 | 3805 | | |
| |||
3812 | 3813 | | |
3813 | 3814 | | |
3814 | 3815 | | |
3815 | | - | |
| 3816 | + | |
3816 | 3817 | | |
3817 | 3818 | | |
3818 | 3819 | | |
| |||
3925 | 3926 | | |
3926 | 3927 | | |
3927 | 3928 | | |
3928 | | - | |
| 3929 | + | |
3929 | 3930 | | |
3930 | 3931 | | |
3931 | 3932 | | |
| |||
3970 | 3971 | | |
3971 | 3972 | | |
3972 | 3973 | | |
3973 | | - | |
3974 | | - | |
3975 | | - | |
3976 | | - | |
3977 | | - | |
3978 | | - | |
| 3974 | + | |
3979 | 3975 | | |
3980 | 3976 | | |
3981 | 3977 | | |
| |||
0 commit comments