diff options
| author | Pawel Biernacki <kaktus@FreeBSD.org> | 2026-06-02 11:08:29 +0000 |
|---|---|---|
| committer | Pawel Biernacki <kaktus@FreeBSD.org> | 2026-06-02 11:08:29 +0000 |
| commit | 5dbbd764c8e116b04c75b79b1eedc0edcbb90435 (patch) | |
| tree | 0ec4f6aaf4bfb2f54d72b557685d7732bdc91215 | |
| parent | ea4888e63f6ac89c38982ffee693f89a5927e9c9 (diff) | |
linux: Fix missing break in lsiginfo_to_siginfo()
Prevent LINUX_SI_TKILL from inadvertently falling through to
LINUX_SI_QUEUE, which incorrectly overwrote si_code with SI_QUEUE
instead of SI_LWP.
| -rw-r--r-- | sys/compat/linux/linux_signal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_signal.c b/sys/compat/linux/linux_signal.c index 2318cfcccc1e..c247a5eb67cf 100644 --- a/sys/compat/linux/linux_signal.c +++ b/sys/compat/linux/linux_signal.c @@ -789,6 +789,7 @@ lsiginfo_to_siginfo(struct thread *td, const l_siginfo_t *lsi, return (EPERM); } si->si_code = SI_LWP; + break; case LINUX_SI_QUEUE: si->si_code = SI_QUEUE; break; |
