summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_syscalls.c
AgeCommit message (Expand)Author
2024-11-05Unlock ptsignal by using the ps_mtx instead of KERNEL_LOCK to ensureClaudio Jeker
2024-04-25Rename socket wait channels when sleeping.Alexander Bluhm
2024-03-01Protect pool_get() with kernel lock in sys_ypconnect().Alexander Bluhm
2024-02-03Rework socket buffers locking for shared netlock.Vitaliy Makkoveev
2024-01-03Run connect(2) in parallel within inet doamin.Alexander Bluhm
2023-12-18Run bind(2) system call in parallel.Alexander Bluhm
2023-09-23Fix unreliable sys_setsockopt() with consistent use of M_WAITJan Klemkow
2023-08-03Move solock() down to sosetopt(). A part of standalone sblock() work.Vitaliy Makkoveev
2023-02-10Adjust knote(9) APIVisa Hankala
2023-01-27Push solock() down to sogetopt(). It is not required for the most cases.Vitaliy Makkoveev
2023-01-27Replace selinfo structure by klist in sockbuf. No reason to keep it,Vitaliy Makkoveev
2023-01-22Move SS_CANTRCVMORE and SS_RCVATMARK bits from `so_state' to `sb_state' ofVitaliy Makkoveev
2023-01-12Use solock() instead solock_shared() within sys_getsockopt(). OtherwiseVitaliy Makkoveev
2022-12-07If the called of ypconnect(2) is root, the socket should acquire aTheo de Raadt
2022-12-05zap a pile of dangling tabsTheo de Raadt
2022-11-30Use shared socket/net lock for IP socketsKlemens Nanni
2022-09-03Make recvmmsg and sendmmsg look more alike. change the flag typeMoritz Buhl
2022-09-03add the sendmmsg syscall that allows sending multiple msghdrs atMoritz Buhl
2022-09-02add the recvmmsg syscall that allows receiving multiple msghdrs atMoritz Buhl
2022-08-14remove unneeded includes in sys/kernJonathan Gray
2022-08-13Introduce the pru_*() wrappers for corresponding (*pr_usrreq)() calls.Vitaliy Makkoveev
2022-07-18the domainname is under root control, but because we are producing a pathTheo de Raadt
2022-07-18For opening up the bindings file in ypconnect(2), bail out earlyTheo de Raadt
2022-07-15pledge "getpw" would notice access to /var/run/ypbind.lock, and grant "inet"Theo de Raadt
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
2021-10-24use NULL not 0 for pointer values in kernJonathan Gray
2021-07-02Writing ktrace files to NFS must no be done while holding the netAlexander Bluhm
2021-06-02Unlock setrtable(2). Local copy of `ps_rtableid' used to make checksmvs
2021-05-28Add f_modify and f_process callbacks to socket filterops.Visa Hankala
2021-05-13Assign NULL instead of 0 to `control' within sendit(). It's mbuf(9)mvs
2021-05-13Move ktrfds() below fdpunlock(). This fixes lock order issue betweenmvs
2021-03-10The ktrace record for recvmsg/recvfrom could contain extract bits inTheo de Raadt
2020-09-29Move the solock() call outside of solisten(). The reason is that theClaudio Jeker
2020-06-10Move closef() outside fdplock() in sys_socketpair(). This preventsVisa Hankala
2020-05-28File allocation in socket(2) & socketpair(2) no longer need the KERNEL_LOCK().Martin Pieuchot
2020-01-15Keep socket timeout intervals in nsecs and use them with tsleep_nsec(9).Martin Pieuchot
2020-01-05Constify instances of struct fileops.Visa Hankala
2019-07-16Fix uipc white spaces.Alexander Bluhm
2019-03-04Yet another (unsigned) cast who's only purpose is to incorrectly truncateTheo de Raadt
2018-11-19delete the dns jackport experiment. it has no future.Ted Unangst
2018-10-25Fix a resource leak in doaccept().Visa Hankala
2018-07-30Use FNONBLOCK instead of SS_NBIO to check/indicate that the I/O modeMartin Pieuchot
2018-06-20Unlock sendmsg(2) and sendto(2).Martin Pieuchot
2018-06-18Put file descriptors on shared data structures when they are completelyMartin Pieuchot
2018-06-06Pass the socket to sounlock(), this prepare the terrain for per-socketMartin Pieuchot
2018-06-05Revert introduction of fdinsert(), a sanitify check triggers whenMartin Pieuchot
2018-06-02Put file descriptors on shared data structures when they are completelyMartin Pieuchot
2018-05-28Grab the KERNEL_LOCK() after socreate() and soconnect2() in socket(2)Martin Pieuchot
2018-05-22Prevent NET_LOCK() recursion when releasing the last `fp' reference.Martin Pieuchot