diff options
author | kib <kib@FreeBSD.org> | 2008-10-19 10:02:26 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2008-10-19 10:02:26 +0000 |
commit | 29ccf7d1668ab3c3e3e82c53dbf69d4c5a9be824 (patch) | |
tree | b27837b90bdbe0e63b7ff72ce0c5c2b29bb7cbd5 /lib/libc/stdlib/bsearch.c | |
parent | 40d90afbe6bf6ae24e4859c61cb929f3f0ccc441 (diff) | |
download | FreeBSD-src-29ccf7d1668ab3c3e3e82c53dbf69d4c5a9be824.zip FreeBSD-src-29ccf7d1668ab3c3e3e82c53dbf69d4c5a9be824.tar.gz |
Correctly fill siginfo for the signals delivered by linux tkill/tgkill.
It is required for async cancellation to work.
Fix PROC_LOCK leak in linux_tgkill when signal delivery attempt is made
to not linux process.
Do not call em_find(p, ...) with p unlocked.
Move common code for linux_tkill() and linux_tgkill() into
linux_do_tkill().
Change linux siginfo_t definition to match actual linux one. Extend
uid fields to 4 bytes from 2. The extension does not change structure
layout and is binary compatible with previous definition, because i386
is little endian, and each uid field has 2 byte padding after it.
Reported by: Nicolas Joly <njoly pasteur fr>
Submitted by: dchangin
MFC after: 1 month
Diffstat (limited to 'lib/libc/stdlib/bsearch.c')
0 files changed, 0 insertions, 0 deletions