svn commit: r184058 - in head/sys: amd64/linux32 compat/linux i386/linux

Kostik Belousov kostikbel at gmail.com
Sun Oct 19 12:47:18 UTC 2008


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20081019/1a77c7e4/attachment.pgp


More information about the svn-src-all mailing list