tech-kern archive

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

kqueue/fork/kevent



Hello

After upgrading to 7.1, I had to fix the same bug in dhcrelay
and parpd (from pkgsrc/net/parpd). The two programs called kqueue,
fork and the kevent. And since kqueue(2) says "The queue is not 
inherited by a child created with fork(2)", the program did not
receive requests. 

A possible workaround was to avoid the fork by running in the 
foreground. But what surprises me is that the two worked in netbsd-6.
Did kqueue/fork/kevent behavior changed on purpose in the meatime? 
If it does, would it make sense to revert to the previous behavior,
where queue were inherited? I do not know how many software out of
there will be hit buy the same problem...

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index