From owner-freebsd-emulation@FreeBSD.ORG Thu Mar 10 13:20: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 5FA3316A4CE for ; Thu, 10 Mar 2005 13:20:06 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4273343D4C for ; Thu, 10 Mar 2005 13:20: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 j2ADK6nE040792 for ; Thu, 10 Mar 2005 13:20:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2ADK6mB040791; Thu, 10 Mar 2005 13:20:06 GMT (envelope-from gnats) Date: Thu, 10 Mar 2005 13:20:06 GMT Message-Id: <200503101320.j2ADK6mB040791@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: Thu, 10 Mar 2005 13:20: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: Thu, 10 Mar 2005 15:10:13 +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. that's what came to my mind too, but unfortunately I will only be able to try it in a week or two. > BTW, would be be interested in getting FreeBSD commit bit, so that you > can do the work by yourself? ;-) I have always dreamt about it, but I feel like it is more responsibility than I can take now. Unfortunately, I am also too short of capabilities to test kernel changes. Thank you, maybe later. -- Andriy Gapon