freebsd-skq/tests/sys
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
..
acl Expect 01:main to fail 2016-12-03 02:24:15 +00:00
aio tests/sys/aio: Add missing mode to open() calls with O_CREAT. 2017-06-04 21:39:37 +00:00
fifo Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
file Tweak r319058 slightly 2017-05-28 17:50:29 +00:00
fs sys/fs/tmpfs/vnd_test: make md(4) allocation dynamic 2017-05-19 17:14:29 +00:00
geom Add regression tests for r317712 and r306743. 2017-05-02 23:31:39 +00:00
kern Send all of data, not just a portion of it 2017-05-28 09:21:28 +00:00
kqueue Add abstime kqueue(2) timers and expand struct kevent members. 2017-06-17 00:57:26 +00:00
mac Add include Makefiles for tests/sys/{fs,kern,kqueue,mac}/... 2017-01-14 20:29:26 +00:00
mqueue Export the mq_getfd_np() symbol from librt.so, which allows to get 2016-10-02 17:02:59 +00:00
netinet Initial srv before using it in bind(2) 2017-05-28 09:08:30 +00:00
opencrypto Add the ccr0 device to the opencrypto tests against the NIST KAT tests. 2017-06-08 21:34:54 +00:00
pjdfstest Improve pjdfstest run instructions 2017-02-21 21:01:01 +00:00
posixshm Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
sys DIRDEPS_BUILD: Add some missing dirctories to the build. 2016-08-31 19:30:59 +00:00
vfs Mark testcases which use cap_enter as expected failures until the 2017-01-15 09:13:41 +00:00
vm Revert r313565 -- :mmap__bad_arguments passes again after r313655 2017-02-11 20:31:57 +00:00
Makefile Integrate contrib/netbsd-tests/fs/tmpfs into the FreeBSD test suite 2016-10-21 05:24:08 +00:00
Makefile.depend DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
Makefile.inc Enable WARNS?= 6 across all of tests/sys 2017-01-14 04:20:06 +00:00