freebsd-dev/sys/compat
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
..
cloudabi Rework r313352. 2017-02-13 09:04:38 +00:00
cloudabi32 Regenerate all the system call tables to drop "created from" lines. 2017-02-10 19:45:02 +00:00
cloudabi64 Regenerate all the system call tables to drop "created from" lines. 2017-02-10 19:45:02 +00:00
freebsd32 Rework r313352. 2017-02-13 09:04:38 +00:00
ia32 With the removal of IA64, the only arch which uses ia32 compat is amd64. 2017-03-01 11:39:29 +00:00
linprocfs Add /proc/self/mounts to linprocfs; some linux binaries need it. 2017-02-20 17:33:25 +00:00
linsysfs Add support to the jail framework to be able to mount linsysfs(5) and 2015-07-19 08:52:35 +00:00
linux Reduce code duplication between MD Linux code by moving SYSV IPC 64-bit 2017-03-07 17:07:16 +00:00
linuxkpi/common Implement time_is_after_eq_jiffies() function in the LinuxKPI. 2017-03-07 15:37:51 +00:00
ndis ndis(4): Undo unneeded workarounds in ndis' rand(). 2016-05-22 14:13:20 +00:00
netbsd Remove some more NetBSD compat shims and other unused bits from these 2012-09-10 18:49:49 +00:00
x86bios x86bios: spelling fix in a comment. 2016-04-30 00:34:04 +00:00