freebsd-src/sys/amd64/linux
Dmitry Chagin ab60bc8488 Reduce code duplication between MD Linux code by moving SYSV IPC 64-bit
related struct definitions out into the MI path.

Invert the native ipc structs to the Linux ipc structs convesion logic.
Since 64-bit variant of ipc structs has more precision convert native ipc
structs to the 64-bit Linux ipc structs and then truncate 64-bit values
into the non 64-bit if needed. Unlike Linux, return EOVERFLOW if the
values do not fit.

Fix SYSV IPC for 64-bit Linuxulator which never sets IPC_64 bit.

MFC after:	1 month
2017-03-07 17:07:16 +00:00
..
linux.h Reduce code duplication between MD Linux code by moving SYSV IPC 64-bit 2017-03-07 17:07:16 +00:00
linux_dummy.c Add UNIMPLEMENTED() placeholder macro for 2017-03-06 18:11:38 +00:00
linux_genassym.c
linux_locore.s Add a forgotten in r283424 .eh_frame section with CFI & FDE records to allow 2016-05-09 07:38:47 +00:00
linux_machdep.c Reimplement linux_arch_prctl() as a wrapper around sysarch(2). 2017-02-20 16:13:40 +00:00
linux_proto.h Regenerated Linuxulator syscall tables for r314782 2017-03-06 18:20:37 +00:00
linux_ptrace.c Implement linux version of ptrace(2). It's nowhere near complete, 2017-02-16 13:32:15 +00:00
linux_support.s Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
linux_syscall.h Regenerated Linuxulator syscall tables for r314782 2017-03-06 18:20:37 +00:00
linux_syscalls.c Regenerated Linuxulator syscall tables for r314782 2017-03-06 18:20:37 +00:00
linux_sysent.c Regenerated Linuxulator syscall tables for r314782 2017-03-06 18:20:37 +00:00
linux_systrace_args.c Regenerated Linuxulator syscall tables for r314782 2017-03-06 18:20:37 +00:00
linux_sysvec.c Apply r210555 to 64 bit linux support: 2017-01-24 16:13:59 +00:00
linux_vdso.lds.s
Makefile Don't create pointless backups of generated files in "make sysent". 2016-07-28 21:29:04 +00:00
syscalls.conf
syscalls.master Add UNIMPLEMENTED() placeholder macro for 2017-03-06 18:11:38 +00:00