summaryrefslogtreecommitdiff
path: root/sys/kern/kern_event.c
AgeCommit message (Expand)Author
2023-04-22file(9): New fo_fpathconf operation.riastradh
2023-04-09kern: KASSERT(A && B) -> KASSERT(A); KASSERT(B)riastradh
2022-07-24kern_event.c: Mark KASSERT-only static function as __diagused.riastradh
2022-07-19Fix a problem whereby detaching a device that has open keventthorpej
2022-07-19Make some knote implementation details private to kern_event.c. NFC, andthorpej
2022-07-13Move klist_{init,fini,insert,remove}() into kern_event.c. NFC.thorpej
2022-07-13Funnel knote alloc/free into a single pair of functions. NFCI.thorpej
2022-05-24fix various typos in comment, documentation and log messages.andvar
2022-02-12Add inline functions to manipulate the klists that link up knotesthorpej
2022-01-01s/aquire/acquire/ in comment.msaitoh
2021-10-23Fix a regression introduced in kern_event.c,v 1.129 that would causethorpej
2021-10-23Add support for the EVFILT_EMPTY filter, which is activated when thethorpej
2021-10-22Support modifying an existing timer without having to delete it first.thorpej
2021-10-21Allow the f_touch() filter op to return an error, specifically inthorpej
2021-10-21Re-factor the code that computes the EVFILT_TIMER value into its ownthorpej
2021-10-21- Don't use a separate kqueue_timer_lock; just protect those knotesthorpej
2021-10-13Add support for the NOTE_SECONDS, NOTE_MSECONDS, NOTE_USECONDS,thorpej
2021-10-11Setting EV_EOF requires modifying kn->kn_flags. However, that relies onthorpej
2021-10-10Check _KERNEL_OPT before including opt_ddb.h.thorpej
2021-10-10Changes to make EVFILT_PROC MP-safe:thorpej
2021-09-30Make the info returned by kqueue_stat() a little less barren.thorpej
2021-09-30In knote(), don't call kn->kn_fop->f_event() directly; use filter_event()thorpej
2021-09-26In kqueue_kqfilter(), return EINVAL instead of 1 if something other thanthorpej
2021-09-26- Rename kqueue_misc_lock -> kqueue_timer_lock, since EVFILT_TIMER isthorpej
2021-09-26Fix the locking around EVFILT_FS. Previously, the code would walk thethorpej
2021-09-26Mark kqread_filtops, user_filtops, and seltrue_filtops as MPSAFE.thorpej
2021-09-26- Define a new filterops flag FILTEROP_MPSAFE, which states that thethorpej
2021-09-26Change the kqueue filterops::f_isfd field to filterops::f_flags, andthorpej
2021-09-21undo previous, wrong file.christos
2021-09-21don't opencode kauth_cred_get()christos
2021-05-02implement fo_restart hook for kqueue descriptors, so that close(2)jdolecek
2021-01-27Fix non-DIAGNOSTIC buildskrll
2021-01-26call f_touch with kq_lock held, and without KERNEL_LOCK() - for thisjdolecek
2021-01-25put back clearing of KN_QUEUED and check for re-queue - as rev. 1.53 notes,jdolecek
2021-01-24don't check signals while waiting for other kqueue scans to finishjdolecek
2021-01-21remove stray debug #define DEBUGjdolecek
2021-01-21adjust kq_check() (enabled with DEBUG) to new reality - it's now perfectlyjdolecek
2021-01-20fix a race in kqueue_scan() - when multiple threads check the samejdolecek
2020-12-27reduce indentation for the main processing loop in kqueue_scan(), this alsojdolecek
2020-12-11Use sel{record,remove}_knote().thorpej
2020-10-31PR/55663: Ruslan Nikolaev: Add support for EVFILT_USER in kqueue(2)christos
2020-05-23Move proc_lock into the data segment. It was dynamically allocated becausead
2020-02-01Load struct filedesc::fd_dt with atomic_load_consume.riastradh
2019-10-18print which process asked for an unsupported event so we can fix it.christos
2018-11-13Fix kernel info leak. There are 4 bytes of padding in struct kevent.maxv
2018-01-12Set EV_ONESHOT to prevent reschedulingchristos
2018-01-09Merge autofs support from: Tomohiro Kusumichristos
2017-11-30add fo_name so we can identify the fileops in a simple way.christos
2017-11-30Put previous removed diagnostic back as debug. It has caught in the pastchristos
2017-11-30Remove spammy kevent failure printf.riastradh