CVSROOT:        /cvs
Module name:    src
Changes by:     an...@cvs.openbsd.org   2018/06/17 02:22:02

Modified files:
        sys/kern       : kern_descrip.c kern_event.c kern_fork.c 
        sys/sys        : eventvar.h filedesc.h proc.h 

Log message:
Move kqueue related fields from struct filedesc to struct kqueue. Solves a panic
in knote_processexit() that can occur when the filedesc belonging to the process
already has been freed.

Similiar work has been done in:
- FreeBSD (commit bc1805c6e871c178d0b6516c3baa774ffd77224a)
- DragonFlyBSD (commit ccafe911a3aa55fd5262850ecfc5765cd31a56a2)

Thanks to tb@ for testing.

ok kettenis@ mpi@ visa@

Reply via email to