<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2021-04-02T07:00:30Z</updated>
<entry>
<title>swap rname and mname in debug output, and handle the USE_CD flag</title>
<updated>2021-04-02T07:00:30Z</updated>
<author>
<name>eric</name>
<email>eric@openbsd.org</email>
</author>
<published>2021-04-02T07:00:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e6029de668dca0b152b977dcfb59dc86d3340856'/>
<id>urn:sha1:e6029de668dca0b152b977dcfb59dc86d3340856</id>
<content type='text'>
from Boudewijn Dijkstra
</content>
</entry>
<entry>
<title>For the snprintf range check demo, add a (size_t) cast in the right place</title>
<updated>2021-04-01T14:27:47Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2021-04-01T14:27:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4af6ccb13c0b15884de7ae705671083a7b06d335'/>
<id>urn:sha1:4af6ccb13c0b15884de7ae705671083a7b06d335</id>
<content type='text'>
which will satisfy the toughest compiler options
</content>
</entry>
<entry>
<title>Type-cast getpagesize() from int to size_t for the comparison with d.</title>
<updated>2021-03-18T11:16:58Z</updated>
<author>
<name>claudio</name>
<email>claudio@openbsd.org</email>
</author>
<published>2021-03-18T11:16:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2cb7cdfc213f61a57def00eb11d6dce9bd9d43ed'/>
<id>urn:sha1:2cb7cdfc213f61a57def00eb11d6dce9bd9d43ed</id>
<content type='text'>
getpagesize() will only return positive numbers (there is no negative
page size system) and it can not fail.
Should fix some compiler warnings seen in -portable projects.
OK otto@
</content>
</entry>
<entry>
<title>Early daemons like dhcpleased(8), slaacd(8), unwind(8), resolvd(8)</title>
<updated>2021-03-09T15:08:23Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2021-03-09T15:08:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5fc6fc53eed51b106058ed08dbfbec744f12aebd'/>
<id>urn:sha1:5fc6fc53eed51b106058ed08dbfbec744f12aebd</id>
<content type='text'>
are started before syslogd(8).  This resulted in ugly sendsyslog(2)
dropped logs and the real message was lost.
Create a temporary stash for log messages within the kernel.  It
has a limited size of 100 messages, and each message is truncated
to 8192 bytes.  When the stash is exhausted, the well-known dropped
message is generated with a counter.  After syslogd(8) has setup
everything, it sends a debug line through libc to flush the kernel
stash.  Then syslogd receives all messages from the kernel before
the usual logs.
OK deraadt@ visa@
</content>
</entry>
<entry>
<title>Change the implementation of the malloc cache to keep lists of</title>
<updated>2021-03-09T07:39:28Z</updated>
<author>
<name>otto</name>
<email>otto@openbsd.org</email>
</author>
<published>2021-03-09T07:39:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c9c2a8bced2637f49891a0cc87ce149229a8c70e'/>
<id>urn:sha1:c9c2a8bced2637f49891a0cc87ce149229a8c70e</id>
<content type='text'>
regions of a given size.  In snaps for a while, committing since
no issues were reported and a wider audience is good.  ok deraadt@
</content>
</entry>
<entry>
<title>document ENOTSUP wxallowed/wxneeded behaviour more clearly; ok kurt</title>
<updated>2021-03-02T17:43:04Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2021-03-02T17:43:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fd874303f21d95e37c4b1c2e7e2d403ce351bd90'/>
<id>urn:sha1:fd874303f21d95e37c4b1c2e7e2d403ce351bd90</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- Make use of the fact that we know how the chunks are aligned, and</title>
<updated>2021-02-25T15:20:18Z</updated>
<author>
<name>otto</name>
<email>otto@openbsd.org</email>
</author>
<published>2021-02-25T15:20:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=19aed9fc1bc211bc77ba2c7c4b875067ff9ef027'/>
<id>urn:sha1:19aed9fc1bc211bc77ba2c7c4b875067ff9ef027</id>
<content type='text'>
write 8 bytes at the time by using a uint64_t pointer. For an
allocation a max of 4 such uint64_t's are written spread over the
allocation. For pages sized and larger, the first page is junked in
such a way.
- Delayed free of a small chunk checks the corresponiding way.
- Pages ending up in the cache are validated upon unmapping or re-use.
In snaps for a while
</content>
</entry>
<entry>
<title>Some people still argue that rand(3) and random(3) have suitable deterministic</title>
<updated>2021-02-12T17:03:51Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2021-02-12T17:03:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=70d9094f4044ec4d667009ef66d835cce8e9a22a'/>
<id>urn:sha1:70d9094f4044ec4d667009ef66d835cce8e9a22a</id>
<content type='text'>
use cases, so explain the situation a bit more.  Since the 80's, I estimate
around 5 algorithm changes, so any chosen seed is unrepeatable UB.

+The deterministic sequence algorithm changed a number of times since
+original development, is underspecified, and should not be relied upon to
+remain consistent between platforms and over time.

ok jmc kettenis
</content>
</entry>
<entry>
<title>Referece trpt(8) from the SO_DEBUG section of getsockopt(2).</title>
<updated>2021-02-04T18:51:01Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2021-02-04T18:51:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=25c653a31002f33b0f9f406fd0ae4377b1a9959a'/>
<id>urn:sha1:25c653a31002f33b0f9f406fd0ae4377b1a9959a</id>
<content type='text'>
OK claudio@ visa@
</content>
</entry>
<entry>
<title>Adding a hard-trap instruction after the __threxit syscall instruction</title>
<updated>2021-02-03T13:00:39Z</updated>
<author>
<name>kurt</name>
<email>kurt@openbsd.org</email>
</author>
<published>2021-02-03T13:00:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=05b039f4dc11d7662dcf95ccc48b62a2745a5111'/>
<id>urn:sha1:05b039f4dc11d7662dcf95ccc48b62a2745a5111</id>
<content type='text'>
broke pthreads on hppa. Reverting. Ok deraadt@
</content>
</entry>
</feed>
