1
0
mirror of https://git.FreeBSD.org/src.git synced 2026-06-02 11:24:32 +00:00

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.
This commit is contained in:
Pawel Biernacki
2026-06-02 11:08:29 +00:00
parent ea4888e63f
commit 5dbbd764c8
+1
View File
@@ -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;