Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2010 23:40:03 GMT
From:      Stefan Schmidt <stefan.schmidt@stadtbuch.de>
To:        freebsd-emulation@FreeBSD.org
Subject:   Re: kern/141439: linux_exit_group kills group leader
Message-ID:  <201003102340.o2ANe30C077443@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/141439; it has been noted by GNATS.

From: Stefan Schmidt <stefan.schmidt@stadtbuch.de>
To: Gleb Kurtsou <gleb.kurtsou@gmail.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/141439: linux_exit_group kills group leader
Date: Thu, 11 Mar 2010 00:35:20 +0100

 Hi Gleb,
 
 On 22.02.2010 03:06, Gleb Kurtsou wrote:
 > I've experienced the same problem with sun jdk. I think approach of not
 > killing group leader is incorrect, it should also be killed. Your patch
 > works because linux_exit_group is called for the second time when only
 > group leader is available. Such behavior is not expected, control should
 > not return to userspace from linux_exit_group.
 
 I agree - thanks for explaining.
 
 > I've submitted another PR, it contains fixes for 2 linux exec bugs.
 > I've followed NetBSD and patched exit1() to allow process exit status to
 > be changed by event handlers.
 >
 > Would appreciate if you could test the patch:
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=144194
 
 Your patch works fine for me (RELENG_8).
 
 Kind regards
 
 Stefan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003102340.o2ANe30C077443>