summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket.c
AgeCommit message (Expand)Author
2022-04-09unix(4): Convert membar_exit to membar_release.riastradh
2022-03-12kern: m_copym(M_DONTWAIT) can fail; handle that case gracefully.riastradh
2021-10-23Add support for the EVFILT_EMPTY filter, which is activated when thethorpej
2021-10-11Setting EV_EOF requires modifying kn->kn_flags. However, that relies onthorpej
2021-09-29The kq filterops that interact with sockets are MPSAFE.thorpej
2021-09-29- Change selremove_knote() from returning void to bool, and returnthorpej
2021-09-26Change the kqueue filterops::f_isfd field to filterops::f_flags, andthorpej
2021-08-03in sbsavetimestamp(), initialize struct timeval to 0 with memset() so thatchs
2020-12-11Use sel{record,remove}_knote().thorpej
2020-11-23Restore correct functioning of SIOCATMARK by removing the previouschs
2020-10-17Setting a socket buffer size stops autoscaling. Add a sysctl tomlelstv
2020-08-26add socket info for user and group for unix sockets in fstat.christos
2020-06-07Fix bohr bug triggered only once by syzkaller 2,5 months ago.maxv
2020-04-26Implement SCTP bug fixes found by maxv@.jakllsch
2020-02-22Zero out 'tv', to prevent uninitialized bytes in its padding from leakingmaxv
2020-02-21Explicitly cast pointers to uintptr_t before casting to enums. They arejoerg
2020-02-18PR/54435: Valery Ushakov: Clear urgent status after reading urgent data, sochristos
2019-10-14Add a check before the memcpy. memcpy is defined to never take NULL asmaxv
2019-09-27Actually return the updated pointer-to-mbuf-pointer to the callerpgoyette
2019-09-14Fix build.mlelstv
2019-09-14PT/54527: Anthony Mallet: Don't clear socket errors for MSG_PEEK.christos
2019-07-16Move the assignment of SCTP-specific function hooks/pointers.pgoyette
2019-06-01Add XXXs for SCTP bugs.maxv
2019-05-08PR/54176: Anthony Mallet:christos
2019-04-15Clean up this mess and simplify, so that all the socket options getpgoyette
2019-04-15If the compat code successfully handled an option, don't return an error.pgoyette
2019-04-15Actually update the timeout value for the compability sockopspgoyette
2019-04-15Split the COMPAT_50 socket-timeout stuff out of kern/uipc_socket.cpgoyette
2019-04-14Add more checks, if the values are negative we hit a KASSERT later in themaxv
2019-04-08Reset so_cred to NULL after freeing it, because close() may leave the PCBmaxv
2019-03-31Also check for MT_CONTROL, and end the receive operation if we see one. Itmaxv
2019-03-07Remove getsombuf(), unused.maxv
2019-03-07stylemaxv
2019-02-04add a couple of fallthru comments.mrg
2018-12-22Replace M_ALIGN and MH_ALIGN by m_align.maxv
2018-11-07Update getsockopt(SO_ERROR) to behave like soreceive() andhannken
2018-11-04- Introduce a new SO_RERROR socket option to explicitly turn onchristos
2018-09-03Rename min/max -> uimin/uimax for better honesty.riastradh
2018-06-06Separate receive socket errors from general socket errors.roy
2018-04-26Stop using m_copy(), use m_copym() directly. m_copy is useless,maxv
2018-04-26Remove unused mbuf argument from sbsavetimestamp.maxv
2018-03-19socket: remove now incorrect comment that so_error is only udproy
2018-03-19socket: clear error even when peekingroy
2018-01-04Add a new sockopt member to keep track of the actual size of the optionchristos
2018-01-01make sure that we have enough space, don't require the exact sizechristos
2017-10-25Use C99 initializer for filteropsmaya
2017-07-06move the timestamp stuff to uipc_socket.c because it already has the compatchristos
2017-05-27merge the bouyer-socketcan branch to HEAD.bouyer
2017-05-25switch to a switchchristos
2017-05-01whitespace policeryo