<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/rpc, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/rpc?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/rpc?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-12-30T18:56:35Z</updated>
<entry>
<title>getifaddrs() can return entries where ifa_addr is NULL. Check for this</title>
<updated>2020-12-30T18:56:35Z</updated>
<author>
<name>benno</name>
<email>benno@openbsd.org</email>
</author>
<published>2020-12-30T18:56:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0720f7c53f4c21072f9e85e3c585214486aecacd'/>
<id>urn:sha1:0720f7c53f4c21072f9e85e3c585214486aecacd</id>
<content type='text'>
before accessing anything in ifa_addr.
ok claudio@
</content>
</entry>
<entry>
<title>Do some easy .data -&gt; .rodata/.data.rel.ro conversions</title>
<updated>2020-10-13T04:42:28Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2020-10-13T04:42:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=036a3c97db0a437193eb7e0c8716ea40cb440a8b'/>
<id>urn:sha1:036a3c97db0a437193eb7e0c8716ea40cb440a8b</id>
<content type='text'>
ok millert@ deraadt@
</content>
</entry>
<entry>
<title>Remove duplicate definition of _null_auth.</title>
<updated>2020-08-30T23:15:31Z</updated>
<author>
<name>mortimer</name>
<email>mortimer@openbsd.org</email>
</author>
<published>2020-08-30T23:15:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fa21bd9c11090e2782cae410f83016e3a632efd3'/>
<id>urn:sha1:fa21bd9c11090e2782cae410f83016e3a632efd3</id>
<content type='text'>
ok millert@ deraadt@
</content>
</entry>
<entry>
<title>Add support for timeconting in userland.</title>
<updated>2020-07-06T13:33:05Z</updated>
<author>
<name>pirofti</name>
<email>pirofti@openbsd.org</email>
</author>
<published>2020-07-06T13:33:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d82e6535c6efd8305182f77041b2246ccfae1196'/>
<id>urn:sha1:d82e6535c6efd8305182f77041b2246ccfae1196</id>
<content type='text'>
This diff exposes parts of clock_gettime(2) and gettimeofday(2) to
userland via libc eliberating processes from the need for a context
switch everytime they want to count the passage of time.

If a timecounter clock can be exposed to userland than it needs to set
its tc_user member to a non-zero value. Tested with one or multiple
counters per architecture.

The timing data is shared through a pointer found in the new ELF
auxiliary vector AUX_openbsd_timekeep containing timehands information
that is frequently updated by the kernel.

Timing differences between the last kernel update and the current time
are adjusted in userland by the tc_get_timecount() function inside the
MD usertc.c file.

This permits a much more responsive environment, quite visible in
browsers, office programs and gaming (apparently one is are able to fly
in Minecraft now).

Tested by robert@, sthen@, naddy@, kmos@, phessler@, and many others!

OK from at least kettenis@, cheloha@, naddy@, sthen@
</content>
</entry>
<entry>
<title>snprintf/vsnprintf return &lt; 0 on error, rather than -1.</title>
<updated>2019-07-03T03:24:01Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-07-03T03:24:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=515e489c3d599b9cfcdf9cf6842ac49f92e154d6'/>
<id>urn:sha1:515e489c3d599b9cfcdf9cf6842ac49f92e154d6</id>
<content type='text'>
</content>
</entry>
<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>Remove dead gettimeofday calls and timevals.</title>
<updated>2018-01-06T15:37:36Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2018-01-06T15:37:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a49620e5a222eddf0e5cf0fb31b5343d5e7d9c9f'/>
<id>urn:sha1:a49620e5a222eddf0e5cf0fb31b5343d5e7d9c9f</id>
<content type='text'>
ok jca@
</content>
</entry>
<entry>
<title>Simplify and unify timespec variables used in those event loops</title>
<updated>2017-12-14T18:56:22Z</updated>
<author>
<name>jca</name>
<email>jca@openbsd.org</email>
</author>
<published>2017-12-14T18:56:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b8b77aada724385f4cb743271efa4fbf516ffa23'/>
<id>urn:sha1:b8b77aada724385f4cb743271efa4fbf516ffa23</id>
<content type='text'>
ok millert@
</content>
</entry>
<entry>
<title>Use CLOCK_MONOTONIC for the rpc event loops</title>
<updated>2017-12-14T16:55:44Z</updated>
<author>
<name>jca</name>
<email>jca@openbsd.org</email>
</author>
<published>2017-12-14T16:55:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0f732d074512b415821a3a3e0f40c721284915ee'/>
<id>urn:sha1:0f732d074512b415821a3a3e0f40c721284915ee</id>
<content type='text'>
From Scott Cheloha, ok deraadt@ tb@
</content>
</entry>
<entry>
<title>fix a sentence that used unusual terminology, the wrong macro,</title>
<updated>2017-06-10T13:24:03Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2017-06-10T13:24:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=82c38fb4ac3a456d4b210144f5ff6d99023cec32'/>
<id>urn:sha1:82c38fb4ac3a456d4b210144f5ff6d99023cec32</id>
<content type='text'>
and broken delimiter syntax; found with mandoc -Tlint
</content>
</entry>
</feed>
