opnsense-src/sys/compat
Konstantin Belousov 2b34e84335 Add abstime kqueue(2) timers and expand struct kevent members.
This change implements NOTE_ABSTIME flag for EVFILT_TIMER, which
specifies that the data field contains absolute time to fire the
event.

To make this useful, data member of the struct kevent must be extended
to 64bit.  Using the opportunity, I also added ext members.  This
changes struct kevent almost to Apple struct kevent64, except I did
not changed type of ident and udata, the later would cause serious API
incompatibilities.

The type of ident was kept uintptr_t since EVFILT_AIO returns a
pointer in this field, and e.g. CHERI is sensitive to the type
(discussed with brooks, jhb).

Unlike Apple kevent64, symbol versioning allows us to claim ABI
compatibility and still name the new syscall kevent(2).  Compat shims
are provided for both host native and compat32.

Requested by:	bapt
Reviewed by:	bapt, brooks, ngie (previous version)
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D11025
2017-06-17 00:57:26 +00:00
..
cloudabi Include <sys/systm.h> to obtain the memcpy() prototype. 2017-03-24 07:09:33 +00:00
cloudabi32 Make file descriptor passing for CloudABI's recvmsg() work. 2017-03-22 19:20:39 +00:00
cloudabi64 Make file descriptor passing for CloudABI's recvmsg() work. 2017-03-22 19:20:39 +00:00
freebsd32 Add abstime kqueue(2) timers and expand struct kevent members. 2017-06-17 00:57:26 +00:00
ia32 Move struct syscall_args syscall arguments parameters container into 2017-06-12 21:03:23 +00:00
linprocfs Fix linprocfs_docpuinfo() output regarding to what newer Linux apps expect 2017-05-06 17:37:01 +00:00
linsysfs Glibc get_nprocs() and get_nprocs_conf() uses the sysfs cpu infrastructure 2017-03-18 18:38:12 +00:00
linux Remove the outdated definition. 2017-06-12 07:48:51 +00:00
linuxkpi/common Implement pci_disable_device() in the LinuxKPI. 2017-06-09 19:57:27 +00:00
ndis Fix regression in ndis(4) after r286410. This adds a bunch of checks for 2017-05-22 20:00:01 +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