mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-05 00:50:52 +00:00
The kqueue debt entry says the user filter follows FreeBSD's kern_event.c. For a kevent EVFILT_USER note registered with EV_DISPATCH it does not: delivery clears the note's activation and its saved fflags. FreeBSD 11.4 clears the activation only under EV_CLEAR and never the saved fflags, so here a re-enabled note without EV_CLEAR stays silent until a new NOTE_TRIGGER, and the saved fflags restart from 0. No title is known to register a user note with EV_DISPATCH and nothing was measured on a console, so the difference is recorded as a debt entry and the behaviour is left as it is. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
1.0 KiB
1.0 KiB
libkernel
add Functional
- EV_DISPATCH on an EVFILT_USER note (libkernel) - delivering a
keventuser note registered withEV_DISPATCHclears its activation and its savedfflags; FreeBSD 11.4'sfilt_usertouchclears the activation only underEV_CLEARand never the savedfflags, andkqueue_registerasks the filter again onEV_ENABLE. A re-enabled note withoutEV_CLEARstays silent here until a newNOTE_TRIGGER, and the savedfflagsrestart from 0: the next report carries 0 after aNOTE_FFNOPorNOTE_FFANDtrigger and only the new bits afterNOTE_FFOR. Not measured on a console; no title is known to register a user note withEV_DISPATCH, and thesceKernel*UserEvent*calls cannot set it