summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_syscalls.c
AgeCommit message (Expand)Author
2015-10-06Rework the tame cmsg handler to make it work both ways. While on recv oneClaudio Jeker
2015-09-29Save a lot of people grief. tame()'d CMSG reception is busted and itTheo de Raadt
2015-09-11Convert _TM_ flags to TAME_ flags, collapsing the entire mappingTheo de Raadt
2015-09-11Only include <sys/tame.h> in the .c files that need itPhilip Guenther
2015-08-22Move to tame(int flags, char *paths[]) API/ABI.Theo de Raadt
2015-07-28Add ktracing of structs iovec, msghdr, and cmsghdr for {,p}{read,write}v(),Philip Guenther
2015-07-27tame check of msghdr should be done after checking for copyin failurePhilip Guenther
2015-07-19tame(2) is a subsystem which restricts programs into a "reduced featureTheo de Raadt
2015-07-17In socketpair(), need to mask the type argument when testing for dgram.Philip Guenther
2015-05-21Rename caddr_t p to cp in an inner block to avoid aliasing the outerNicholas Marriott
2015-05-06Pass a thread pointer instead of its file descriptor table to getsock(9).Martin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-01-19Move doaccept() declaration from its .c file to sys/socketvar.h for usePhilip Guenther
2015-01-19Delete ABI compat for osockaddr: 20 years and many ABI bumps since sa_len addedPhilip Guenther
2014-12-13yet more mallocarray() changes.Doug Hogan
2014-12-11convert bcopy to memcpy/memmove. ok krwTed Unangst
2014-12-09More malloc() -> mallocarray() in the kernel.Doug Hogan
2014-12-02In sys_socket() and doaccept(), gotta skip setting the close-on-execPhilip Guenther
2014-09-09Delete the SS_ISCONFIRMING flag that supported delayed connectionPhilip Guenther
2014-08-31Add additional kernel interfaces for setting close-on-exec on fdsPhilip Guenther
2014-07-13pass the size to free in some of the obvious casesTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2013-09-14Correct the handling of I/O of >=2^32 bytes and the ktracing there ofPhilip Guenther
2013-04-05remove some obsolete castsTed Unangst
2012-10-17In sys_accept(), don't sleep between pulling the new socket from thePhilip Guenthe
2012-05-06Change accept(), recvfrom(), recvmsg(), getsockname(), andMatthew Dempsky
2012-04-22Add struct proc * argument to FRELE() and FILE_SET_MATURE() inPhilip Guenthe
2011-12-03add support for MSG_NOSIGNAL.Federico G. Schwindt
2011-10-23shorten periods of fdplock() in accept() and socket(), so that greaterTheo de Raadt
2011-07-08Remove COMPAT_OLDSOCK since no nothing sets MSG_COMPAT anymore.Theo de Raadt
2011-07-08Support sending struct info to kdump. So far for struct stat andOtto Moerbeek
2011-07-08Remove the sys_opipe() kernel entry point. sys_pipe() is the future.Matthew Dempsky
2011-04-04COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)Theo de Raadt
2010-09-22Fix a locking bug in accept(2) caught by sthen@ using my strictMatthew Dempsky
2010-09-20Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is libraryTheo de Raadt
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
2010-06-30Add getsockopt SOL_SOCKET SO_PEERCRED support. This behaves similar toTheo de Raadt
2009-12-23The process's rdomain should be, well, per-process and not per-rthread,Philip Guenthe
2009-11-27Add setrdomain() and getrdomain() system calls. Committing now toPhilip Guenthe
2009-11-23Replace in-line implementation of soqinsque with a call to soqinsque.Jacek Masiulaniec
2009-08-10Don't use char arrays for sleep wchans and reuse them.Thordur I. Bjornsson
2009-02-22fix PR 6082: do not create more fd's than will fit in the message onOtto Moerbeek
2008-12-16Move the functionality of psignal() to a new function ptsignal()Philip Guenthe
2008-05-23Deal with the situation when TCP nfs mounts timeout and processesThordur I. Bjornsson
2008-04-06In sendit(), len should be size_t, not int. Could cause it to returnStefan Kempf
2006-10-23fix control message length check, needs CMSG_ALIGN()Henning Brauer
2006-10-21tbert sent me a diff to change some 0 to NULLTed Unangst
2006-10-18Return ECONNABORTED when a non-blocking socket has been shutdown() forKurt Miller
2006-03-26do per file io accounting and show that in fstat as well; pedro@ marco@ okMichael Shalayeff
2006-01-05ansi/deregisterJonathan Gray