summaryrefslogtreecommitdiff
path: root/sys/kern/kern_event.c
AgeCommit message (Expand)Author
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
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
2013-05-31On NOTE_EXIT event of EVFILT_PROC, store the exit status in kn_data.YASUOKA Masahiko
2013-04-24When a ucom(4) is removed, it frees the tty with ttyfree(). However ifNicholas Marriott
2012-07-08kevent(EV_DELETE) shouldn't be calling closef(), as that releases POSIXPhilip Guenthe
2012-06-06EVFILT_SIGNAL and EVFILT_PROC events need to track the process they'rePhilip Guenthe
2012-04-22Add struct proc * argument to FRELE() and FILE_SET_MATURE() inPhilip Guenthe
2012-03-25release the file ref to the kqueue while in kevent(), so that close()Theo de Raadt
2012-03-19Add tracing and dumping of "pointer to struct" syscall arguments forPhilip Guenthe
2012-03-10Add PS_EXITING to better differentiate between the process exiting andPhilip Guenthe
2012-02-15Hold struct filedesc's fd_lock when writing to the fd_ofiles, fd_ofileflags,Philip Guenthe
2011-07-02kqueue attach functions should return an errno or 0, not a plain 1. FixNicholas Marriott
2011-05-03spacesMarco Peereboom