From owner-freebsd-emulation@FreeBSD.ORG Fri Mar 18 09:50:06 2005 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EAD516A4CE for ; Fri, 18 Mar 2005 09:50:06 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2452E43D41 for ; Fri, 18 Mar 2005 09:50:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2I9o6ff027484 for ; Fri, 18 Mar 2005 09:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2I9o6uL027483; Fri, 18 Mar 2005 09:50:06 GMT (envelope-from gnats) Date: Fri, 18 Mar 2005 09:50:06 GMT Message-Id: <200503180950.j2I9o6uL027483@freefall.freebsd.org> To: emulation@FreeBSD.org From: Andriy Gapon Subject: Re: kern/72922: linux emulation: suid/sgid threaded applications hang X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andriy Gapon List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2005 09:50:06 -0000 The following reply was made to PR kern/72922; it has been noted by GNATS. From: Andriy Gapon To: Maxim Sobolev Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/72922: linux emulation: suid/sgid threaded applications hang Date: Fri, 18 Mar 2005 11:44:00 +0200 on 10.03.2005 14:56 Maxim Sobolev said the following: > I see. Try to replace the following line in kern_prot.c: > > if (signum == SIGTHR && td->td_proc->p_leader != NULL && > > with the following: > > if (signum >= SIGTHR && td->td_proc->p_leader != NULL && > > And let me know if it helps. > Maxim, this has fixed the problem completely, thank you. As to your other question, I need to gather my thoughts on it :-) -- Andriy Gapon