<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libevent/event.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libevent/event.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libevent/event.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-05-01T19:14:25Z</updated>
<entry>
<title>Tweaks previous: gettime() can be void, use TIMESPEC_TO_TIMEVAL</title>
<updated>2019-05-01T19:14:25Z</updated>
<author>
<name>jca</name>
<email>jca@openbsd.org</email>
</author>
<published>2019-05-01T19:14:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0b56c05694bfe553350a72e84d496f1189e881a0'/>
<id>urn:sha1:0b56c05694bfe553350a72e84d496f1189e881a0</id>
<content type='text'>
ok nicm@ tobias@ cheloha@
</content>
</entry>
<entry>
<title>Require clock_gettime(CLOCK_MONOTONIC) and remove fallback code</title>
<updated>2019-05-01T19:12:47Z</updated>
<author>
<name>jca</name>
<email>jca@openbsd.org</email>
</author>
<published>2019-05-01T19:12:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3173634a73233a7227c5caa6d59e5f0f382217af'/>
<id>urn:sha1:3173634a73233a7227c5caa6d59e5f0f382217af</id>
<content type='text'>
If clock_gettime(CLOCK_MONOTONIC) fails here, something is really wrong.
Lots of userland already require it anyway.  Removing the fallback code
means less code, less global state and less fiddling with the timeheap
internals.

ok nicm@ tedu@ tobias@ cheloha@
</content>
</entry>
<entry>
<title>Switched min_heap to size_t to prevent integer overflows.</title>
<updated>2019-04-29T17:11:51Z</updated>
<author>
<name>tobias</name>
<email>tobias@openbsd.org</email>
</author>
<published>2019-04-29T17:11:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=756da5e0a6f57235bf162711a0bf4e55e0fca407'/>
<id>urn:sha1:756da5e0a6f57235bf162711a0bf4e55e0fca407</id>
<content type='text'>
Also, as deraadt suggested, switched realloc to recallocarray to at least
prevent uninitialized memory to be used as pointers in case of other
programming errors. A proper solution (not using an array) needs more work.

This change occured in sync with upstream libevent 2.2.

with input by and ok bluhm, jca, tedu
</content>
</entry>
<entry>
<title>Backout revision 1.37.  Setting ev-&gt;ev_pncalls to NULL results in</title>
<updated>2015-01-06T23:11:23Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2015-01-06T23:11:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=75f39c9fb438e87f14fa8068af565e07e4e5b87f'/>
<id>urn:sha1:75f39c9fb438e87f14fa8068af565e07e4e5b87f</id>
<content type='text'>
a use after free if the callback has freed the ev.  With F in
malloc.conf both tmux and the regression tests triggered a segmentation
fault.
OK nicm@
</content>
</entry>
<entry>
<title>Apply commit 2d8cf0b720cdd5f9f292f174a10ff74e62a380ec from upstream.</title>
<updated>2015-01-06T11:27:35Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2015-01-06T11:27:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9e85ff02a3e0929411058bcec3b3f4f6093948be'/>
<id>urn:sha1:9e85ff02a3e0929411058bcec3b3f4f6093948be</id>
<content type='text'>
- Defensive programming to prevent (hopefully impossible) stack-stomping
OK nicm@
</content>
</entry>
<entry>
<title>Fix whitespace errors in libevent.</title>
<updated>2014-10-30T16:45:37Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2014-10-30T16:45:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=824b820d4681cb871673244f671f855c64a3db5f'/>
<id>urn:sha1:824b820d4681cb871673244f671f855c64a3db5f</id>
<content type='text'>
OK nicm@
</content>
</entry>
<entry>
<title>After removing all the #ifdef, the wrappers in evutil are rather</title>
<updated>2014-10-29T22:47:29Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2014-10-29T22:47:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=84ea67e3e3c0f239bd94fd21b75b8140c2dd446b'/>
<id>urn:sha1:84ea67e3e3c0f239bd94fd21b75b8140c2dd446b</id>
<content type='text'>
useless.  Let libevent call the libc functions directly.
OK nicm@
</content>
</entry>
<entry>
<title>Remove #ifdef HAVE_backend and remove references to unimplemented</title>
<updated>2014-10-17T22:59:46Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2014-10-17T22:59:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1fc96e2c647ee43de5ab8b5762e0a7bac22314fa'/>
<id>urn:sha1:1fc96e2c647ee43de5ab8b5762e0a7bac22314fa</id>
<content type='text'>
backends.
OK nicm@
</content>
</entry>
<entry>
<title>Remove some #ifdef HAVE_syscall.</title>
<updated>2014-10-17T20:52:59Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2014-10-17T20:52:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7ba5b15a6974fa6bee7652320cc3a5da08fc01ef'/>
<id>urn:sha1:7ba5b15a6974fa6bee7652320cc3a5da08fc01ef</id>
<content type='text'>
OK nicm@
</content>
</entry>
<entry>
<title>Remove #ifdef HAVE_.*_H, just include the header files.</title>
<updated>2014-10-17T19:16:01Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2014-10-17T19:16:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=defc4074ccfc9c1a6ee37be0e276b56046842efa'/>
<id>urn:sha1:defc4074ccfc9c1a6ee37be0e276b56046842efa</id>
<content type='text'>
Do not include sys/param.h.
OK nicm@
</content>
</entry>
</feed>
