summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_syscalls.c
AgeCommit message (Expand)Author
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
2018-05-08Protect per-file counters and document which lock is used to protectMartin Pieuchot
2018-04-27Move FREF() inside fd_getfile().Martin Pieuchot
2018-03-28Call FREF() right after fd_getfile() in getsock().Martin Pieuchot
2018-02-21Call socreate() before falloc() in sys_socket().Martin Pieuchot
2018-02-19Grab solock() inside soconnect2() instead of asserting for it to be held.Martin Pieuchot
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2018-02-11Revert rev 1.163. Causes network issues in Firefox.Matthieu Herrb
2018-02-09Call socreate() before falloc() in sys_socket().Martin Pieuchot
2018-01-09Change `so_state' and `so_error' to unsigned int such that they canMartin Pieuchot
2018-01-02Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.Philip Guenther
2017-09-01Change sosetopt() to no longer free the mbuf it receives and changeMartin Pieuchot
2017-08-22Make sogetopt(9) caller responsible for allocating an MT_SOOPTS mbuf.Martin Pieuchot
2017-08-10Move the solock()/sounlock() dance outside of sobind().Martin Pieuchot
2017-08-09Move the socket lock "above" sosetopt(), sogetopt() and sosplice().Martin Pieuchot
2017-07-24Extend the scope of the socket lock to protect `so_state' in connect(2).Martin Pieuchot
2017-07-20When receiving a struct sockaddr from userland, enforce that memoryAlexander Bluhm