summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_socket.c
AgeCommit message (Expand)Author
2016-03-02remove the Linux emulation code, no longer referenced by anythingChristian Weisgerber
2015-05-06Pass a thread pointer instead of its file descriptor table to getsock(9).Martin Pieuchot
2015-01-30Fix mbuf leak in Linux compat setsockopt() in the error path whenTodd C. Miller
2015-01-21Ubreak the tree by using "struct ifreq" instead of "struct linux_ifreq".Martin Pieuchot
2015-01-21Delete option COMPAT_43: support for pre-sa_len binaries has been obsoletePhilip Guenther
2015-01-19Prefer linux_sockaddr over osockaddr, so the latter can go away.Philip Guenther
2014-12-05Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.Martin Pieuchot
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
2014-09-10Avoid possible use of uninitialized variable.Mike Larkin
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-04-07Retire kernel support for SO_DONTROUTE, this time without breakingMartin Pieuchot
2014-03-28revert "Retire kernel support for SO_DONTROUTE" diff, which does bad thingsStuart Henderson
2014-03-27Retire kernel support for SO_DONTROUTE, since the plan is to alwaysMartin Pieuchot
2014-03-26Move p_emul and p_sigcode from proc to process.Philip Guenther
2014-02-13Instead of iterating over the per-interface list of addresses toMartin Pieuchot
2014-01-23adjust a comment or twoTed Unangst
2012-06-26Don't ignore SOCK_CLOEXEC and SOCK_NONBLOCK.Paul Irofti
2012-06-19Add socket type mask to filter out implementation specific flags.Paul Irofti
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-09-19Fix Unix socket handling when the length is too large by trimming.Paul Irofti
2011-07-09begone, fucking rotten appletalk shit. ok roomHenning Brauer
2011-07-07remove all the old COMPAT_43 syscalls. The option itself remains forTed Unangst
2009-09-05Fix various cases of stackgap_alloc() size arguments not being computedMiod Vallat
2009-02-19sys/types.h or sys/param.h MUST BE FIRSTTheo de Raadt
2008-06-10Allow linux binaries to call setsockopt(,TCPNODELAY,) on a AF_LOCALMatthieu Herrb
2007-06-06put IPX in the unsupported boatHenning Brauer
2006-03-05Use more queue macros rather than doing it by hand; ok otto@ krw@Miod Vallat
2005-11-21Move contents of sys/select.h to sys/selinfo.h in preparation for aTodd C. Miller
2005-06-07remove CCITT handlingHenning Brauer
2004-07-08we don't care about copyout's success. add a comment to appease sturm@Ted Unangst
2003-11-25Make SIOCGIFHWADDR work. ok mickey@Thomas Nordin
2003-07-24after sys_sendmsg, change control message level back in case somebody looksTed Unangst
2003-01-21Do not do multiple stackgap_init calls in the same syscall execution,Niklas Hallqvist
2002-12-10pass p->p_emul to stackgap_init(), not 0 to be consistent.Federico G. Schwindt
2002-12-10fix setsockopt SO_REUSEADDR under linux emul; from NetBSD.Federico G. Schwindt
2002-11-27do address translation for for socket syscalls that pass addresses inJason Ish
2002-08-09Correct the size arg to copyout.Aaron Campbell
2002-08-09socket flags are not inherited via accept() on linux; found and testedFederico G. Schwindt
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-13FREF/FRELE where required due to fd_getfile.jasoni
2002-02-06emulate linux behaviour by passing ioctl's down to the underlying devicejasoni
2001-06-21translate LINUX_AF_INET6 (10) into AF_INET6.Jun-ichiro itojun Hagino
2001-05-24style/cleanup (of function headers)jasoni
2000-07-23OpenBSD -> NetBSD where previously missed.jasoni
1999-02-10more ioctl supportTheo de Raadt
1999-02-10IP_HDRINCL support, will need tweaking; freebsdTheo de Raadt
1998-07-19no; linux connect() appears busted in blocking mode tooTheo de Raadt
1998-07-13oops; mwp@aba.net.auTheo de Raadt
1998-04-25Aparently the socketpair bug is fixed in current Linux kernels soTodd C. Miller