CVSROOT:        /cvs
Module name:    src
Changes by:     v...@cvs.openbsd.org    2025/05/21 08:10:16

Modified files:
        sys/kern       : kern_event.c 
        regress/sys/kern/kqueue: kqueue-user.c 

Log message:
kqueue: Improve EVFILT_USER compatibility

Always set `data' and `udata' of the EVFILT_USER event when triggering
it with NOTE_TRIGGER. Preserve `fflags' when the event is cleared
with EV_CLEAR. These make the behaviour more similar to kqueue(2) /
kevent(2) of FreeBSD, to avoid OS-specific quirks in user code.

Tested by volker@
OK tedu@ mvs@

Reply via email to