summaryrefslogtreecommitdiff
path: root/sys/kern/kern_event.c
AgeCommit message (Expand)Author
2018-11-27EVFILT_TIMER: Remove extra tick from tvtohz(9) on timeout reload.cheloha
2018-11-17Avoid leaking kernel memory in struct kevent padding.Todd C. Miller
2018-09-04kevent: Don't poll for nonzero timeouts < 1us.cheloha
2018-08-20Reorder checks in the read/write(2) family of syscalls to prepare makingMartin Pieuchot
2018-08-15Grab the KERNEL_LOCK() in MP-unsafe fo_close routines. This preventsVisa Hankala
2018-08-09Remove redundant "kq == kn->kn_kq" checks. The lists kq_knhash andVisa Hankala
2018-08-07Fix dangling knote references.Visa Hankala
2018-06-18Put file descriptors on shared data structures when they are completelyMartin Pieuchot
2018-06-17Move kqueue related fields from struct filedesc to struct kqueue. Solves a panicanton
2018-06-15kevent: don't reject timeouts greater than 100 million secondscheloha
2018-06-05Revert introduction of fdinsert(), a sanitify check triggers whenMartin Pieuchot
2018-06-02Put file descriptors on shared data structures when they are completelyMartin Pieuchot
2018-05-22kevent: correctly check that timeout's nanoseconds are on [0, 1000000000)cheloha
2018-04-27Move FREF() inside fd_getfile().Martin Pieuchot
2018-04-10Convert 'struct fileops' definitions to C99.Martin Pieuchot
2018-04-08Test for preexisting conditions when re-enabling eventsMike Belopuhov
2018-04-03Move FREF()s just after fd_getfile() in sys_kevent(), sys_lseek() andMartin Pieuchot
2018-01-13introduce a filter called EVFILT_DEVICE that can be used to notifyRobert Nagy
2017-12-18Revert support for multiple threads to enter kqueue_scan() in parallel.Martin Pieuchot
2017-11-04Make it possible for multiple threads to enter kqueue_scan() in parallel.Martin Pieuchot
2017-10-11Move `kq_count' increase/decrease close to the corresponding TAILQ_*Martin Pieuchot
2017-10-11Move kq_kev from struct kqueue to the stack.Martin Pieuchot
2017-05-31Add support for EV_RECEIPT and EV_DISPATCH flagsMike Belopuhov
2017-02-11Add a flags argument to falloc() that lets it optionally set thePhilip Guenther
2016-09-24move knhash size to event.h, use it for hashfree. from Mathieu -Ted Unangst
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-08-25pool_setiplDavid Gwynne
2016-07-14Prevent silly states via knotes on pids > 2^32 and on nonexistent signals.Philip Guenther
2016-07-14kevent validates that ident is a valid fd by getting the file. one sadTed Unangst
2016-05-13contrary to documentation and other implementations, kevent was preventingTed Unangst
2016-01-06tidy up whitespace, etc.Ted Unangst
2015-12-20size for free, sent and reminded by Mathieu. also delete null check.Ted Unangst
2015-12-17arrays decay to pointers without needing &Ted Unangst
2015-12-17add ktrace to kevent. ok guentherTed Unangst
2015-12-05remove stale lint annotationsTed Unangst
2015-10-29In knote(), use SLIST_FOREACH_SAFE when walking the klist since a call toJoel Sing
2015-10-11Always set the timeout at least one tick in the future for EVFILT_TIMERPhilip Guenther
2015-10-10shuffle #ifdef TIOCSTI block to avoid a future /*FALLTHROUGH*/ mistake.Theo de Raadt
2015-10-09oops, snuck into a syscalls sync; spotted by sthenTheo de Raadt
2015-10-09syncTheo de Raadt
2014-12-19start retiring the nointr allocator. specify PR_WAITOK as a flag as aTed Unangst
2014-12-09More malloc() -> mallocarray() in the kernel.Doug Hogan
2014-11-03pass size argument to free()Theo de Raadt
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-05-15knote_processexit() needs the thread to pass down to FRELE(), so pass itPhilip Guenther
2014-03-30Eliminates struct pcred by moving the real and saved ugids intoPhilip Guenther
2014-01-22Delete casts in assignments to void* and passed void* arguments.Philip Guenther
2014-01-21bzero -> memsetTed Unangst
2013-11-14Use (N * sizeof(struct klist)) instead of (N * sizeof(struct klist *))Charles Longeau
2013-09-14Snapshots for all archs have been built, so remove the T32 codePhilip Guenther