kern/72922: linux emulation: suid/sgid threaded applications hang

Andriy Gapon avg at icyb.net.ua
Thu Mar 10 05:20:06 PST 2005


The following reply was made to PR kern/72922; it has been noted by GNATS.

From: Andriy Gapon <avg at icyb.net.ua>
To: Maxim Sobolev <sobomax at portaone.com>
Cc: freebsd-gnats-submit at 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


More information about the freebsd-emulation mailing list