summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_socketcall.c
AgeCommit message (Collapse)Author
2021-09-23add support COMPAT_LINUX for aarch64ryo
2017-02-09use proper arg functions, remove bogus ones.christos
2017-02-03add sendmmsg and recvmmsgchristos
2017-02-03handle accept4 for i386christos
2014-11-09Do not uselessly include <sys/malloc.h>.maxv
2014-06-21If SCARG(uap, what) = 0, copyin() will copy (size_t)-1 bytes, and it's notmaxv
a good idea; but not proven harmful. With the help of njoly@
2013-12-27Rename ipcall/socketcall specific defines to avoid conflict withnjoly
syscalls definitions. No functional changes.
2012-06-22From the "parse errors that you just do not see as a human" department:martin
build fix.
2012-06-21fix token pasting.christos
2012-06-20print proper ktruser names depending on the emulation.christos
2008-07-03Fix SIOCGIFCONF ioctl for 64bit platforms. Add a new linux_ifreqnjoly
structure and linux_getifconf function (cleaned up version from compat_ifconf). While here, update linux_getifhwaddr to use the new structure. Ok by christos.
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2007-12-20Convert all the system call entry points from:dsl
int foo(struct lwp *l, void *v, register_t *retval) to: int foo(struct lwp *l, const struct foo_args *uap, register_t *retval) Fixup compat code to not write into 'uap' and (in some cases) to actually pass a correctly formatted 'uap' structure with the right name to the next routine. A few 'compat' routines that just call standard ones have been deleted. All the 'compat' code compiles (along with the kernels required to test build it). 98% done by automated scripts.
2007-12-08ANSIfy most of the function definitions in sys/compat (but not ndis).dsl
All by the magic of sed ...
2007-08-15Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposedad
on tech-kern.
2007-06-02wrap #include "opt_ktrace.h" by #ifdef _KERNEL_OPT.yamt
2007-06-01(Ab)use a KTR_USER trace entry for the linux socket command and arguments.dsl
2007-03-04Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.christos
2007-02-09Merge newlock2 to head.ad
2005-12-11merge ktrace-lwp.christos
2005-05-29- sprinkle const.christos
- add XXXUNCONST to the emul_find() pbuf argument free'ing. XXX: this needs an api change. - avoid variable shadowing.
2005-05-03First work on COMPAT_LINUX/amd64manu
Process startup and dynamiclinking work, but processes hang due to Linux arch_prctl(2) not being really supported yet.
2004-09-05improve the (#ifdef DEBUG_LINUX) socketcall argument dump code:jdolecek
- print the socketcall type - special case socket(2) call, it's also the only one with first argument not being a socket descriptor - only dump the relevant part of linux_socketcall_dummy_args, instead of always the whole structure
2004-08-29dump socketcall data #ifdef DEBUG_LINUXjdolecek
2003-01-18Merge the nathanw_sa branch.thorpej
2002-03-29- #undef DPRINTF for files that are included from other files.christos
- more debugging for socketcalls - fix sa_len if AF_INET; somehow we get passed 28 instead of 16?
2001-11-13add RCSIDs (including regeneration of files as appropriate)lukem
2001-07-22make linux_socketcall_argsize[] static constjdolecek
2001-07-04Do address family (AF_*) number translation for socket system calls whichjdolecek
pass socket address in our or out. This makes Linux programs using IPv6 working under emulation. This addresses kern/13279 by Jun-ichiro itojun Hagino. Change sendmsg()/recvmsg() to expect the control information to be passed the standard way (not 4.3BSD one, imlied by compat_43 code or MSG_COMPAT). Linux uses different (arguably broken) CMSG_ALIGN() on some architectures unfortunately, that would need to be handled eventually. Also provide some other trivial stubs (like linux_sys_send()) to avoid unneeded dependance on uipc_syscalls_43.c.
2001-06-22linux_sys_socketcall(): refuse negative 'what' valuesjdolecek
1999-03-25commit fix to PR7072: emulate linux non-blocking connect behavior more correctlysommerfe
1998-10-04Assign my copyright to TNF. Merge with others were appropriate.fvdl
Regen syscall files after script change.
1998-10-03Attempt to fix the mess.christos
1998-10-01Split linux/compat/linux_socket.c into common and multi-architechture parts. ↵erh
linux_socketcall.c contains the socketcall multiplexer.
1996-12-22Make this compile again, including Politically Correct const handling.fvdl
1996-04-05Prototyping changes.christos
1996-03-08Separate ioctl emulation by group. Add (minimal) audio emulation.mycroft
1995-10-07Prefix names of system call implementation functions with `sys_'.mycroft
1995-09-19Make system calls conform to a standard prototype and bring thosethorpej
prototypes into scope.
1995-08-14Rearrange #includes.mycroft
1995-06-24Use compat_util.[ch].christos
1995-06-22* Changed to use generic ELF code from kern/exec_elf.c (which was takenfvdl
from the svr4 exec code plus the linux compat mods) * Include file change * Add multicast sockopts (from John Brezak)
1995-05-28Need netinet/tcp.h.mycroft
1995-05-28Convert TCP socket options.mycroft
1995-05-28Fill in `name' argument to getsockopt() correctly.mycroft
1995-05-28Fix typo.mycroft
1995-05-28Convert IP socket options.mycroft
1995-05-28Get rid of damned `static's.mycroft
1995-02-28Added Linux compat code.fvdl