summaryrefslogtreecommitdiffstats
path: root/sys/kern/sys_socket.c
AgeCommit message (Expand)AuthorFilesLines
2020-02-22In preparation for unlocking ioctl(2), grab the kernel lock as needed.anton1-1/+5
2020-01-08Unify handling of ioctls FIOSETOWN/SIOCSPGRP/TIOCSPGRP andvisa1-9/+7
2020-01-05Constify instances of struct fileops.visa1-2/+2
2018-11-19Utilize sigio with sockets.visa1-6/+4
2018-08-20Reorder checks in the read/write(2) family of syscalls to prepare makingmpi1-3/+3
2018-07-30Use FNONBLOCK instead of SS_NBIO to check/indicate that the I/O modempi1-15/+19
2018-07-10Move socket & pipe specific logic in their ioctl handler.mpi1-1/+7
2018-06-06Pass the socket to sounlock(), this prepare the terrain for per-socketmpi1-5/+5
2018-04-26Remove solock() surrounding PRU_CONTROL in soo_ioctl().pirofti1-3/+1
2018-04-10Convert 'struct fileops' definitions to C99.mpi1-3/+8
2017-12-10Move SB_SPLICE, SB_WAIT and SB_SEL to `sb_flags', serialized by solock().mpi1-3/+3
2017-11-14Push the NET_LOCK into ifioctl() and use the NET_RLOCK in ifioctl_get().tb1-3/+1
2017-08-11Remove NET_LOCK()'s argument.mpi1-3/+3
2017-07-24Grab the socket lock in soo_ioctl() where `so_state', `so_rcv'mpi1-24/+31
2017-07-20Extend the scope of the socket lock in soo_stat() to protect `so_state'mpi1-4/+3
2017-02-22Do not grab the NET_LOCK() when poll(2)ing on unix domain sockets.mpi1-3/+3
2017-02-14Wrap the NET_LOCK() into a per-socket solock() that does nothing formpi1-5/+5
2017-01-31Remove the inifioctl hack, checking for an unheld NET_LOCK() inmpi1-8/+1
2017-01-25Introduce a hack to remove false-positives when looking for memorympi1-1/+8
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsmpi1-9/+9
2016-11-22Enforce that ifioctl() is called at IPL_SOFTNET.mpi1-3/+7
2016-11-21Kill rtioctl() stub, returning EOPNOTSUPP since tree import.mpi1-2/+2
2016-11-21Enforce that pr_usrreq functions are called at IPL_SOFTNET.mpi1-2/+10
2016-10-06Separate splsoftnet() from variable initialization.bluhm1-2/+3
2015-12-05remove stale lint annotationstedu1-4/+1
2015-05-13test mbuf pointers against NULL not 0jsg1-6/+6
2014-07-13bzero -> memset. for the speeds.tedu1-2/+2
2014-03-30Eliminates struct pcred by moving the real and saved ugids intoguenther1-2/+2
2013-09-28poll(2) on a socket should set POLLHUP on EOF. This makes themillert1-2/+5
2013-04-05remove some obsolete caststedu1-7/+6
2013-01-15Changing the socket buffer flags sb_flags was not interrupt safebluhm1-3/+3
2009-02-22fix PR 6082: do not create more fd's than will fit in the message onotto1-2/+3
2008-10-02A closed, disconnected, or otherwise failed socket is still a socketderaadt1-2/+10
2008-05-23Deal with the situation when TCP nfs mounts timeout and processesthib1-3/+3
2007-02-26exclude control data from the number of bytes returned by FIONREAD ioctl()kurt1-2/+2
2005-12-13ansi/deregister. No binary change.jsg1-28/+8
2003-09-23Replace select backends with poll backends. selscan() and pollscan()millert1-33/+28
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-6/+2
2001-05-14Add a fo_stat member to struct fileops. Used soon.art1-2/+2
2001-05-14More generic arguments to soo_stat.art1-4/+6
2001-03-01port kqueue changes from freebsd, plus all required openbsd glue.provos1-3/+5
2000-04-19Change struct file interface methods read and write to pass file offset incsapuntz1-3/+5
1997-08-31for non-tty TIOCSPGRP/F_SETOWN/FIOSETOWN pgid setting calls, store uidderaadt1-1/+4
1997-02-24OpenBSD tagsniklas1-0/+1
1995-10-18initial import of NetBSD treederaadt1-0/+204