NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/41076: sigwaitinfo and sigtimedwait don't properly set siginfo



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

From: Matteo Beccati <matteo%beccati.com@localhost>
To: M.Drochner%fz-juelich.de@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/41076: sigwaitinfo and sigtimedwait don't properly set 
 siginfo
Date: Fri, 27 Mar 2009 13:43:18 +0100

 Matthias Drochner ha scritto:
 > matteo%beccati.com@localhost said:
 >> The fix is working, I'm attaching a diff for the netbsd-4 branch in
 >> case  you want to apply it. 
 > 
 > Great - thanks. Could you please exercise the code a bit.
 > I want to be sure that this doesn't cause a memory leak.
 > (In theory it can't because siginfo allocation/deallocation
 > is done in a higher layer than the trampoline code which
 > interprets the SA_SIGINFO flag.)
 
 I've wrapped a loop around the code and all the memory allocated is 
 released when execution ends from what I could see in vmstat.
 
 
 Cheers
 
 -- 
 Matteo Beccati
 
 OpenX - http://www.openx.org
 


Home | Main Index | Thread Index | Old Index