summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_usrreq.c
AgeCommit message (Expand)Author
2023-11-28correct spelling of FALLTHROUGHJonathan Gray
2023-03-31remove unused unp_lockJonathan Gray
2023-01-21Introduce per-sockbuf `sb_state' to use it with SS_CANTSENDMORE.Vitaliy Makkoveev
2022-12-12Revert sb_state changes to unbreak tree.Theo Buehler
2022-12-11This time, socket's buffer lock requires solock() to be held. As a part ofVitaliy Makkoveev
2022-12-05zap a pile of dangling tabsTheo de Raadt
2022-11-26Merge uipc_bind() with unp_bind(). Unlike other unp_*() functions,Vitaliy Makkoveev
2022-11-15style(9) fix. No functional change.Vitaliy Makkoveev
2022-11-13Split out handlers for SOCK_DGRAM unix(4) sockets from SOCK_STREAM andVitaliy Makkoveev
2022-10-17Change pru_abort() return type to the type of void and make pru_abort()Vitaliy Makkoveev
2022-10-03System calls should not fail due to temporary memory shortage inAlexander Bluhm
2022-09-20Remove unused and unimplemented unp_drain().Vitaliy Makkoveev
2022-09-17bind() to AF_UNIX will now require unveil "w". "w" may seem a little oddTheo de Raadt
2022-09-14AF_UNIX bind() must use UNVEIL_CREATE for namei() because it is creatingTheo de Raadt
2022-09-13Change pru_rcvd() return type to the type of void. We have no interestVitaliy Makkoveev
2022-09-03Move PRU_PEERADDR request to (*pru_peeraddr)().Vitaliy Makkoveev
2022-09-03Move PRU_SOCKADDR request to (*pru_sockaddr)()Vitaliy Makkoveev
2022-09-02Move PRU_CONTROL request to (*pru_control)().Vitaliy Makkoveev
2022-09-01Move PRU_CONNECT2 request to (*pru_connect2)().Vitaliy Makkoveev
2022-08-31Move PRU_SENDOOB request to (*pru_sendoob)().Vitaliy Makkoveev
2022-08-30Fix uninitialized variable after the switch to (*pru_send); found the hardMiod Vallat
2022-08-29Move PRU_RCVOOB request to (*pru_rcvoob)().Vitaliy Makkoveev
2022-08-28Move PRU_SENSE request to (*pru_sense)().Vitaliy Makkoveev
2022-08-28Move PRU_ABORT request to (*pru_abort)().Vitaliy Makkoveev
2022-08-27Move PRU_SEND request to (*pru_send)().Vitaliy Makkoveev
2022-08-26Move PRU_RCVD request to (*pru_rcvd)().Vitaliy Makkoveev
2022-08-22Move PRU_SHUTDOWN request to (*pru_shutdown)().Vitaliy Makkoveev
2022-08-22Move PRU_DISCONNECT request to (*pru_disconnect).Vitaliy Makkoveev
2022-08-22Move PRU_ACCEPT request to (*pru_accept)().Vitaliy Makkoveev
2022-08-21Move PRU_CONNECT request to (*pru_connect)() handler.Vitaliy Makkoveev
2022-08-21Move PRU_LISTEN request to (*pru_listen)() handler.Vitaliy Makkoveev
2022-08-20Move PRU_BIND request to (*pru_bind)() handler.Vitaliy Makkoveev
2022-08-15Introduce 'pr_usrreqs' structure and move existing user-protocolVitaliy Makkoveev
2022-07-02Unlock peer in the SOCK_STREAM and SOCK_SEQPACKET error path.Vitaliy Makkoveev
2022-07-01Make fine grained unix(4) domain sockets locking. Use the per-socketVitaliy Makkoveev
2022-06-06Simplify solock() and sounlock(). There is no reason to return a valueClaudio Jeker
2022-04-11Keep `fdp' locked until we finish the second loop of unp_externalize().Vitaliy Makkoveev
2022-02-25Reported-by: syzbot+1b5b209ce506db4d411d@syzkaller.appspotmail.comPhilip Guenther
2022-02-25Move pr_attach and pr_detach to a new structure pr_usrreqs that canPhilip Guenther
2021-12-29Do not allow send/receive of kcov descriptors as the file descriptor canAnton Lindqvist
2021-12-26Rework garbage collector for unix(4) sockets.Vitaliy Makkoveev
2021-12-07Make `unp_msgcount' and `unp_file' protection with `unp_gc_lock'Vitaliy Makkoveev
2021-11-17When unp_connect() releases both solock() and vnode(9) locks the socket weVitaliy Makkoveev
2021-11-16Move UNIX domain sockets garbage collector out of `unp_lock.Vitaliy Makkoveev
2021-11-11Fix GENERIC kernel compilation.Vitaliy Makkoveev
2021-11-11Use vnode(9) lock to protect `v_socket' dereference.Vitaliy Makkoveev
2021-11-06Make `unp_msgcount' and `unp_file' atomic. Introduce `unp_rights_mtx'Vitaliy Makkoveev
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-23sonewconn() returns the pointer to 'socket' struct so check it againstVitaliy Makkoveev