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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user