summaryrefslogtreecommitdiff
path: root/sys/kern/kern_event.c
AgeCommit message (Expand)Author
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
2011-04-02Move P_SUGID and P_SUGIDEXEC from struct proc to struct process, soPhilip Guenthe
2010-08-02Fix knote handling for exiting processes: when triggering a NOTE_EXITPhilip Guenthe
2010-07-28Add a dummy kqueue filter similar to seltrue and use it for anythingNicholas Marriott
2010-05-18move knote list to struct process. ok guentherTed Unangst
2009-11-09Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tNicholas Marriott
2009-06-02A process should always be able to attach kevent filters to its ownPhilip Guenthe
2008-05-06Add a PR_ZERO flag for pools, to compliment the M_ZEROThordur I. Bjornsson
2007-10-29MALLOC/FREE -> malloc/freeCharles Longeau
2007-05-30openbsd has timeouts, not callouts so rename the variables. i applied an olderTed Unangst
2007-05-30add a new kevent filter type for timers. this allows processes to createTed Unangst
2007-03-30change a misplaced splnet() in kqueue_poll() to splhigh(). fixes aReyk Floeter
2006-12-01spell kqueue, not kqeueCamiel Dobbelaar