freebsd-skq/contrib/netbsd-tests/kernel
kib d7f022a3ab 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
..
arch
kqueue
tty
gen_t_subr_prf
h_ps_strings1.c
h_ps_strings2.c
msg.h
t_extattrctl.c
t_extent.c
t_filedesc.c
t_kauth_pr_47598.c
t_lock.c
t_lockf.c
t_mqueue.c
t_ps_strings.sh
t_ptrace_wait3.c
t_ptrace_wait4.c
t_ptrace_wait6.c
t_ptrace_wait.c
t_ptrace_wait.h
t_ptrace_waitid.c
t_ptrace_waitpid.c
t_ptrace.c
t_pty.c
t_rnd.c
t_sysctl.c
t_sysv.c
t_umount.sh
t_umountstress.sh