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

On May 31,  3:10pm, (Martin Husemann) wrote:
-- Subject: Re: kern/46463: netbsd-6:  panic and filesystem corruption runnin

|  On Thu, May 31, 2012 at 02:50:06PM +0000, Christos Zoulas wrote:
|  >  Yes, and we can remove the close-on-fork part too I guess.
|  I'm not sure we should do that by default, but we could add a flag for
|  kqueue1() to make it inheritable. Otherwise it might be a suprise with
|  unclear consequences on existing apps (like now suddenly running into

I don't think that this will happen in reality; there are very few programs
using kqueue, and I think that most people don't treat the kqueue file
descriptors specially. I.e. if you ask jill-random if kqueue descriptors are
inherited on fork, she will probably say yes.

|  However, is this realy worth the effort? All other OSes seem to not inherit
|  this descriptors as well.

I don't know. I just dislike the special treatment. I think that the power
of unix comes from the fact that file-descriptors have all treated equally
for common operations. Yes, I know we have added all kinds of warts through
the years, but...


Home | Main Index | Thread Index | Old Index