From owner-svn-src-head@FreeBSD.ORG Sun May 24 19:35:00 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 949A7C47; Sun, 24 May 2015 19:35:00 +0000 (UTC) Received: from heemeyer.club (heemeyer.club [IPv6:2001:19f0:6400:80a1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "heemeyer.club", Issuer "heemeyer.club" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9A51964; Sun, 24 May 2015 19:34:59 +0000 (UTC) Received: from dchagin.static.corbina.net (dchagin.static.corbina.ru [78.107.232.239]) by heemeyer.club (8.15.1/8.15.1) with ESMTPS id t4OJYs9f002903 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 24 May 2015 19:34:56 GMT (envelope-from dchagin@dchagin.static.corbina.net) X-Authentication-Warning: heemeyer.club: Host dchagin.static.corbina.ru [78.107.232.239] claimed to be dchagin.static.corbina.net Received: from dchagin.static.corbina.net (localhost [127.0.0.1]) by dchagin.static.corbina.net (8.15.1/8.15.1) with ESMTPS id t4OJYsVa002739 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 24 May 2015 22:34:54 +0300 (MSK) (envelope-from dchagin@dchagin.static.corbina.net) Received: (from dchagin@localhost) by dchagin.static.corbina.net (8.15.1/8.15.1/Submit) id t4OJYrCQ002738; Sun, 24 May 2015 22:34:53 +0300 (MSK) (envelope-from dchagin) Date: Sun, 24 May 2015 22:34:48 +0300 From: Chagin Dmitry To: Konstantin Belousov Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r283479 - in head/sys: amd64/amd64 amd64/ia32 arm/arm i386/i386 mips/mips powerpc/powerpc sparc64/sparc64 Message-ID: <20150524193448.GA2729@dchagin.static.corbina.net> References: <201505241756.t4OHu3ot035613@svn.freebsd.org> <20150524182515.GF2499@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150524182515.GF2499@kib.kiev.ua> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 May 2015 19:35:00 -0000 On Sun, May 24, 2015 at 09:25:15PM +0300, Konstantin Belousov wrote: > On Sun, May 24, 2015 at 05:56:03PM +0000, Dmitry Chagin wrote: > > Author: dchagin > > Date: Sun May 24 17:56:02 2015 > > New Revision: 283479 > > URL: https://svnweb.freebsd.org/changeset/base/283479 > > > > Log: > > The kernel sends signals to the processes via ABI specific sv_sendsig method. > > Native ABI do not need signal conversion, only emulators may want this. Usually > > emulators implements its own sv_sendsig method. For now only ibcs2 emulator does > > not have own sv_sendsig implementation and depends on native sendsig() method. > > So, remove any extra attempts to convert signal numbers from native sendsig() > > methods except from i386 where ibsc2 is living. > > > > Modified: > > head/sys/amd64/amd64/machdep.c > > head/sys/amd64/ia32/ia32_signal.c > > head/sys/arm/arm/machdep.c > > head/sys/i386/i386/machdep.c > > head/sys/mips/mips/freebsd32_machdep.c > > head/sys/mips/mips/pm_machdep.c > > head/sys/powerpc/powerpc/exec_machdep.c > > head/sys/sparc64/sparc64/machdep.c > > > > Modified: head/sys/amd64/amd64/machdep.c > > ============================================================================== > > --- head/sys/amd64/amd64/machdep.c Sun May 24 17:53:48 2015 (r283478) > > +++ head/sys/amd64/amd64/machdep.c Sun May 24 17:56:02 2015 (r283479) > > @@ -398,10 +398,6 @@ sendsig(sig_t catcher, ksiginfo_t *ksi, > > /* Align to 16 bytes. */ > > sfp = (struct sigframe *)((unsigned long)sp & ~0xFul); > > > > - /* Translate the signal if appropriate. */ > > - if (p->p_sysent->sv_sigtbl && sig <= p->p_sysent->sv_sigsize) > > - sig = p->p_sysent->sv_sigtbl[_SIG_IDX(sig)]; > > - > Does struct sysent still need sv_sigtbl and sv_sigsize members then ? ubsc2 share sendsig with i386, so this members still used -- Have fun! chd