On Sun, Oct 19, 2008 at 02:40:54PM +0200, Roman Divacky wrote: > On Sun, Oct 19, 2008 at 10:02:26AM +0000, Konstantin Belousov wrote: > > Author: kib > > Date: Sun Oct 19 10:02:26 2008 > > New Revision: 184058 > > URL: http://svn.freebsd.org/changeset/base/184058 > > > > Log: > > 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. > > does it fix the test case Nicolas provided? It didnt for me when I tried > this patch... As far as I got it from conversation with Dmitry, cancellation still does not work. This patch is a required cleanup anyway.
> > > Reported by: Nicolas Joly <njoly pasteur fr> > > might be of some interest for someone... njoly of netbsd :) Point taken.
pgppcU1NnsiQa.pgp
Description: PGP signature
