summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_socket.c
AgeCommit message (Expand)Author
2022-08-03Pull up following revision(s), all via patchmartin
2020-11-08Pull up following revision(s) (requested by kamil in ticket #1127):martin
2020-07-17Pull up following revision(s) (requested by msaitoh in ticket #1018):martin
2019-09-13Pull up following revision(s) (requested by maxv in ticket #194):martin
2019-04-18Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stackchristos
2019-02-04- avoid uninitialised memory usagemrg
2018-11-14Apply the recent fixes to {send,recv}mmsg() to their compat variants.hannken
2018-05-10Fix pserialize enter/exit pairs in linux_getifconf and linux32_getifconfozaki-r
2018-05-03Fix COMPAT_NETBSD32 cmsg handling:christos
2018-03-16PR/53103: Timo Buhrmester: linux emulation of sendto(2) brokenchristos
2017-11-22Fix and make consistent of usages of psz/psref in ifconf variantsozaki-r
2017-03-14Use if_acquire and if_release instead of using psref API directlyozaki-r
2017-02-03add sendmmsg and recvmmsgchristos
2017-02-03handle accept4 for i386christos
2017-02-03Do not compile accept4 on i386, there is no such syscall in Linux.martin
2017-02-02implement accept4christos
2016-09-13Make the ktrace record written by do_sys_sendmsg/do_sys_recvmsg overridablemartin
2016-08-01Apply pserialize and psref to struct ifaddr and its variantsozaki-r
2016-07-07Switch the address list of intefaces to pslist(9)ozaki-r
2016-07-05Fix psref isn't released in a case of IFADDR_EMPTYozaki-r
2016-06-16Use curlwp_bind and curlwp_bindx instead of open-coding LP_BOUNDozaki-r
2016-06-15Protect if_byindex by pserializeozaki-r
2016-05-12Protect ifnet list with psz and psrefozaki-r
2015-07-24Unused inits (harmless).maxv
2015-05-24convert remaining linux_get_sa() users to use linux_get_sa_sb() andrtr
2015-05-02make connect syscall use sockaddr_big and modify pr_{send,connect}rtr
2015-04-03* change pr_bind to accept struct sockaddr * instead of struct mbuf *rtr
2014-11-26Tweak ifconf variantsozaki-r
2014-11-21Tweak linux_getifhwaddrozaki-r
2014-11-09Do not uselessly include <sys/malloc.h>.maxv
2014-05-23Add a funtion that translate socket type value from Linux to NetBSD.njoly
2014-05-17Replace open-coded access (and boundary checking) of ifindex2ifnet withrmind
2014-01-27Add basic IPV6 level socket options support (IPV6_V6ONLY).njoly
2014-01-27Add SO_SNDLOWAT, SO_RCVLOWAT and SO_ACCEPTCONN support for socketnjoly
2013-01-11Use copyin/copyout and linux-specific ifreq structures (they are the samechristos
2012-06-20print proper ktruser names depending on the emulation.christos
2012-03-15Do not read past end of array. Found by gcc -03bouyer
2012-01-20Change CMSG_SPACE and CMSG_LEN to provide Integer Constant Expressionsjoerg
2011-12-20- Eliminate so_nbio and turn it into a bit SS_NBIO in so_state.christos
2011-07-17fail early on socket domain+type combinations we don't supportchristos
2011-06-30dependant -> dependentwiz
2010-11-02update linux_sys_socket() to understand the flags that are nowchs
2009-11-28Add LINUX_SIOCGIFMTU and LINUX_IP_HDRINCL support.dsl
2009-11-13Return the result of copyout. Reminded by Niolas Joly.joerg
2009-11-13Provide SIOCGIFNAME.joerg
2009-06-17Add a new linux_msghdr structure, as its size differs on 64bit archs.njoly
2009-06-16Add LINUX_CMSG_{SPACE,LEN} macros. Use then when calculating thenjoly
2009-06-16For linux cmsg header copyout, use the linux structure size, not thenjoly
2009-06-16Make compat linux sendmsg/recvmsg output msghdr and control messagesnjoly
2009-06-11In sendmsg(2), do copy the msghdr structure before trying to use it.njoly