freebsd-skq/sys/amd64/linux32
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
..
linux32_dummy.c Add UNIMPLEMENTED() placeholder macro for 2017-03-06 18:11:38 +00:00
linux32_genassym.c Implement vdso - virtual dynamic shared object. Through vdso Linux 2015-05-24 15:28:17 +00:00
linux32_locore.s Update for LINUX32 rename. The assembler didn't complain about undefined 2015-10-29 15:20:47 +00:00
linux32_machdep.c Add linux_preadv() and linux_pwritev() syscalls to Linuxulator. 2017-02-24 20:04:02 +00:00
linux32_proto.h Regenerated Linuxulator syscall tables for r314782 2017-03-06 18:20:37 +00:00
linux32_support.s Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
linux32_syscall.h Regenerated Linuxulator syscall tables for r314782 2017-03-06 18:20:37 +00:00
linux32_syscalls.c Regenerated Linuxulator syscall tables for r314782 2017-03-06 18:20:37 +00:00
linux32_sysent.c Regenerated Linuxulator syscall tables for r314782 2017-03-06 18:20:37 +00:00
linux32_systrace_args.c Regenerated Linuxulator syscall tables for r314782 2017-03-06 18:20:37 +00:00
linux32_sysvec.c Cleanup redundant parenthesis from existing howmany()/roundup() macro uses. 2016-04-22 16:57:42 +00:00
linux32_vdso.lds.s Put linux_platform into the vdso to avoid copying it onto the stack at 2015-05-24 15:30:52 +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
Makefile Don't create pointless backups of generated files in "make sysent". 2016-07-28 21:29:04 +00:00
syscalls.conf Rename remaining linux32 symbols such as linux_sysent[] and 2015-10-22 21:28:20 +00:00
syscalls.master Add UNIMPLEMENTED() placeholder macro for 2017-03-06 18:11:38 +00:00