summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2021-12-07Continue to delete emulation support: since we're Just ELF, the sizePhilip Guenther
2021-12-07Make `unp_msgcount' and `unp_file' protection with `unp_gc_lock'Vitaliy Makkoveev
2021-12-06Start to delete emulation support: since we're Just ELF, makePhilip Guenther
2021-12-05kbind(2): disable system call if not initialized before first __tfork(2)Scott Soule Cheloha
2021-12-02firstc() and nextc() use an int of global static storage. Make thisTheo de Raadt
2021-12-01late allocation of clist in putc() and b_to_q() hasn't been required inTheo de Raadt
2021-11-30Prevent select(2) from blocking if registering found pending events.Visa Hankala
2021-11-29regenVitaliy Makkoveev
2021-11-29Unlock accept(2) and accept4(2) syscalls. Unlock them both because theyVitaliy Makkoveev
2021-11-29kqueue: Revise badfd knote handlingVisa Hankala
2021-11-26Mark exit1() and sigexit() as non-returningVisa Hankala
2021-11-24Fix type of count.Visa Hankala
2021-11-24Simplify arithmetics on the main path.Visa Hankala
2021-11-24Remove unneeded <sys/stdarg.h>.Visa Hankala
2021-11-24Refactor postsig_done(). Pass the catchmask and signal reset flag to theClaudio Jeker
2021-11-24Minor code cleanup. Move a comment to the right place, move a functionClaudio Jeker
2021-11-24Add a few dt(4) TRACEPOINTS to SMR. Should help to better understand whatClaudio Jeker
2021-11-22Revert poll(2) back to the original implementationVisa Hankala
2021-11-22Translate POLLNVAL in ppollcollect()Visa Hankala
2021-11-22Let futex_wait() run without kernel lockVisa Hankala
2021-11-19Make futexes work in shared anonymous memory.Mark Kettenis
2021-11-17When unp_connect() releases both solock() and vnode(9) locks the socket weVitaliy Makkoveev
2021-11-16Use nowake when poll/select has empty fd setVisa Hankala
2021-11-16Move UNIX domain sockets garbage collector out of `unp_lock.Vitaliy Makkoveev
2021-11-15Copy p_p->ps_pledge into a local variable (called pledge) in every functionTheo de Raadt
2021-11-15Revert to eager removal of poll/select knotesVisa Hankala
2021-11-13Let filt_fileattach() run without the kernel lockVisa Hankala
2021-11-12sigsuspend(2): sleep on &nowake channelScott Soule Cheloha
2021-11-12Keep knotes between poll/select systems callsVisa Hankala
2021-11-11Fix GENERIC kernel compilation.Vitaliy Makkoveev
2021-11-11Use vnode(9) lock to protect `v_socket' dereference.Vitaliy Makkoveev
2021-11-11Destroy protocol control block before perform `so_q0' and `so_q' queuesVitaliy Makkoveev
2021-11-06Make `unp_msgcount' and `unp_file' atomic. Introduce `unp_rights_mtx'Vitaliy Makkoveev
2021-11-06Make kqread event filter MP-safeVisa Hankala
2021-11-06Allocate socket and initialize so_lock in one placeVisa Hankala
2021-10-30Change hw.perfpolicy=auto by default, at startup. If the system has ACTheo de Raadt
2021-10-30Kill the dead code from unp_drop().Vitaliy Makkoveev
2021-10-30Fix the UNIX domain sockets leak in soclose().Vitaliy Makkoveev
2021-10-29poll needs similar treatment as select recently gained in order to notAnton Lindqvist
2021-10-27Replace 'DIAGNOSTIC' block within soqinsque() by KASSERT(9).Vitaliy Makkoveev
2021-10-27regenVisa Hankala
2021-10-27Unlock the kevent(2) system call.Visa Hankala
2021-10-26Improve unhibernate performance (30% on some machines, another upcoming diffTheo de Raadt
2021-10-25Revert commitid: ufM9BcSbXqfLpzBH;Claudio Jeker
2021-10-24Implement poll(2), select(2), ppoll(2) & pselect(2) on top of kqueue.Martin Pieuchot
2021-10-24Set klist lock for sockets to make socket event filters MP-safeVisa Hankala
2021-10-24Make pipe event filters MP-safeVisa Hankala
2021-10-24use NULL not 0 for pointer values in kernJonathan Gray
2021-10-23sonewconn() returns the pointer to 'socket' struct so check it againstVitaliy Makkoveev
2021-10-23Be consistend and add missing spaces around some of the NOTREACHED comments.Claudio Jeker