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

Roman Divacky rdivacky at FreeBSD.org
Sun Oct 19 12:41:44 UTC 2008


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...

>   Reported by:	Nicolas Joly <njoly pasteur fr>

might be of some interest for someone... njoly of netbsd :)


More information about the svn-src-all mailing list