Add abstime kqueue(2) timers and expand struct kevent members.This change implements NOTE_ABSTIME flag for EVFILT_TIMER, whichspecifies that the data field contains absolute time to fire theevent
Add abstime kqueue(2) timers and expand struct kevent members.This change implements NOTE_ABSTIME flag for EVFILT_TIMER, whichspecifies that the data field contains absolute time to fire theevent.To make this useful, data member of the struct kevent must be extendedto 64bit. Using the opportunity, I also added ext members. Thischanges struct kevent almost to Apple struct kevent64, except I didnot changed type of ident and udata, the later would cause serious APIincompatibilities.The type of ident was kept uintptr_t since EVFILT_AIO returns apointer 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 ABIcompatibility and still name the new syscall kevent(2). Compat shimsare provided for both host native and compat32.Requested by: baptReviewed by: bapt, brooks, ngie (previous version)Sponsored by: The FreeBSD FoundationDifferential revision: https://reviews.freebsd.org/D11025
show more ...
Diff reduce with upstream and consolidate #ifdefs where possible
One more sys/types.h kevent clarification missed in r312151
Clarify why sys/types.h #include is needed on FreeBSD
Merge content currently under test from ^/vendor/NetBSD/tests/dist/@r312123Sponsored by: Dell EMC Isilon
Fix tests/sys/kqueue NetBSD tests on 32-bit platforms by using properformat specifier for pointers when printing them out with printf(3)MFC after: 57 daysPointyhat to: ngieReported by: bz, cy, J
Fix tests/sys/kqueue NetBSD tests on 32-bit platforms by using properformat specifier for pointers when printing them out with printf(3)MFC after: 57 daysPointyhat to: ngieReported by: bz, cy, Jenkins (i386 job)Submitted by: cySponsored by: EMC / Isilon Storage Division
Port contrib/netbsd-tests/kernel/kqueue/... as tests/sys/kqueue/...proc2_test must be skipped because the invariant tested(`ke.fflags & NOTE_TRACKERR`) doesn't pass.MFC after: 58 daysSubmitted
Port contrib/netbsd-tests/kernel/kqueue/... as tests/sys/kqueue/...proc2_test must be skipped because the invariant tested(`ke.fflags & NOTE_TRACKERR`) doesn't pass.MFC after: 58 daysSubmitted by: kib (earlier form)Sponsored by: EMC / Isilon Storage DivisionDifferential Revision: https://reviews.freebsd.org/D6172
Checkpoint initial integration work- Some of the lib/libc and lib/thr tests fail- lib/msun/exp_test:exp2_values now passes with clang 3.8.0The Makefiles in contrib/netbsd-tests were pruned as th
Checkpoint initial integration work- Some of the lib/libc and lib/thr tests fail- lib/msun/exp_test:exp2_values now passes with clang 3.8.0The Makefiles in contrib/netbsd-tests were pruned as they have no valueSponsored by: EMC / Isilon Storage Division
Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 ,minus the vendor MakefilesProvide directions for how to bootstrap the vendor sources inFREEBSD-upgradeMFC after 2 weeks
Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 ,minus the vendor MakefilesProvide directions for how to bootstrap the vendor sources inFREEBSD-upgradeMFC after 2 weeksDiscussed with: rpauloSponsored by: EMC / Isilon Storage Division