From owner-svn-src-all@FreeBSD.ORG Sun Oct 19 12:41:44 2008 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45FD91065694; Sun, 19 Oct 2008 12:41:44 +0000 (UTC) (envelope-from rdivacky@lev.vlakno.cz) Received: from vlakno.cz (77-93-215-190.static.masterinter.net [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id EA56A8FC18; Sun, 19 Oct 2008 12:41:43 +0000 (UTC) (envelope-from rdivacky@lev.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 8CB0F9CB1CA; Sun, 19 Oct 2008 14:40:57 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AexsAyWiQIiG; Sun, 19 Oct 2008 14:40:54 +0200 (CEST) Received: from lev.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 8758E9CB528; Sun, 19 Oct 2008 14:40:54 +0200 (CEST) Received: (from rdivacky@localhost) by lev.vlakno.cz (8.14.2/8.14.2/Submit) id m9JCesq0026889; Sun, 19 Oct 2008 14:40:54 +0200 (CEST) (envelope-from rdivacky) Date: Sun, 19 Oct 2008 14:40:54 +0200 From: Roman Divacky To: Konstantin Belousov Message-ID: <20081019124054.GA25779@freebsd.org> References: <200810191002.m9JA2Q5N040016@svn.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200810191002.m9JA2Q5N040016@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r184058 - in head/sys: amd64/linux32 compat/linux i386/linux X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2008 12:41:44 -0000 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 might be of some interest for someone... njoly of netbsd :)