<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libevent/evutil.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libevent/evutil.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libevent/evutil.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-06-28T13:32:41Z</updated>
<entry>
<title>When system calls indicate an error they return -1, not some arbitrary</title>
<updated>2019-06-28T13:32:41Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-06-28T13:32:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=df69c215c7c66baf660f3f65414fd34796c96152'/>
<id>urn:sha1:df69c215c7c66baf660f3f65414fd34796c96152</id>
<content type='text'>
value &lt; 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
</content>
</entry>
<entry>
<title>Currently we have about a 50/50 split over fcntl(n, F_GETFL [,0])</title>
<updated>2016-03-20T00:01:21Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2016-03-20T00:01:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=830940108cb586124f87decdcb07d3396c396f3e'/>
<id>urn:sha1:830940108cb586124f87decdcb07d3396c396f3e</id>
<content type='text'>
idioms.

Adopt the more concise fcntl(n, F_GETFL) over fcntl(n, F_GETFL, 0)
where it is obvious further investigation will not yield and
even better way.

Obviousness evaluation and ok guenther@
</content>
</entry>
<entry>
<title>Remove some #ifdef from libevent.</title>
<updated>2014-10-18T21:56:44Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2014-10-18T21:56:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=37fbd8dfb5cf1486c8318998b0f7facda94557da'/>
<id>urn:sha1:37fbd8dfb5cf1486c8318998b0f7facda94557da</id>
<content type='text'>
OK nicm@
</content>
</entry>
<entry>
<title>Remove the remaining #ifdef HAVE_ and the #define _GNU_SOURCE.</title>
<updated>2014-10-18T16:48:28Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2014-10-18T16:48:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=44e30b10372d07959035c45ba62dee4130f51c99'/>
<id>urn:sha1:44e30b10372d07959035c45ba62dee4130f51c99</id>
<content type='text'>
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>
<entry>
<title>Remove #ifdef HAVE_CONFIG_H, there is no config.h file.</title>
<updated>2014-10-16T07:38:06Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2014-10-16T07:38:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a37b64e43cf48b4885967c3b154292b3cc162085'/>
<id>urn:sha1:a37b64e43cf48b4885967c3b154292b3cc162085</id>
<content type='text'>
OK nicm@
</content>
</entry>
<entry>
<title>iRemove the #ifdef WIN32 implementation from libevent.</title>
<updated>2014-10-08T20:14:19Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2014-10-08T20:14:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1cfb165f03f9fcc5c7ff25e30cd76e2c0d557bcb'/>
<id>urn:sha1:1cfb165f03f9fcc5c7ff25e30cd76e2c0d557bcb</id>
<content type='text'>
OK nicm@
</content>
</entry>
<entry>
<title>Update to 1.4.14b.</title>
<updated>2010-07-12T18:03:38Z</updated>
<author>
<name>nicm</name>
<email>nicm@openbsd.org</email>
</author>
<published>2010-07-12T18:03:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e175bf561ee03d6efef2ab9a76822dec329c9599'/>
<id>urn:sha1:e175bf561ee03d6efef2ab9a76822dec329c9599</id>
<content type='text'>
From their change log:
 o Fix memory-leak of signal handler array with kqueue. [backport]
 o Make evutil_make_socket_nonblocking() leave any other flags alone.
 o Adjusted fcntl() retval comparison on evutil_make_socket_nonblocking().
 o Re-add event_siglcb; some old code _was_ still using it. :(
 o Fix a free(NULL) in min_heap.h
 o Clean up properly when adding a signal handler fails.

Also a local change to use an int rather than a long for fcntl().

ok guenther deraadt
</content>
</entry>
<entry>
<title>Clean up the awful _EVENT_* poo in the libevent headers, and don't</title>
<updated>2010-04-21T21:02:46Z</updated>
<author>
<name>nicm</name>
<email>nicm@openbsd.org</email>
</author>
<published>2010-04-21T21:02:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b6d58cc17b8c220748df33e4d14d31ed5b0296bd'/>
<id>urn:sha1:b6d58cc17b8c220748df33e4d14d31ed5b0296bd</id>
<content type='text'>
install event-config.h.

Pointed out by deraadt.
</content>
</entry>
</feed>
