NetBSD-Bugs archive

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

Re: kern/46463: netbsd-6: panic and filesystem corruption running tmux



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

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/46463: netbsd-6:  panic and filesystem corruption running tmux
Date: Wed, 23 May 2012 00:16:08 +0200

 On Tue, May 22, 2012 at 09:15:04PM +0000, Richard Hansen wrote:
 >  There are other functions in src/sys/kern/kern_event.c that have the line:
 >  
 >       fdp = curlwp->l_fd;
 >  
 >  Are those also wrong?
 
 I think the one in knote_fdclose() is correct, the other are probably wrong
 too.
 
 It only matters if the same kernel object is watched via kqueue from
 different processes, which seems to be an uncommon operation. We need to
 add test cases for it...
 
 Martin
 


Home | Main Index | Thread Index | Old Index