<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/stand, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/stand?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/stand?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-06-15T14:43:57Z</updated>
<entry>
<title>align the random buffer so mdrandom() can fill it with register-width</title>
<updated>2020-06-15T14:43:57Z</updated>
<author>
<name>naddy</name>
<email>naddy@openbsd.org</email>
</author>
<published>2020-06-15T14:43:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=91bdb1f19a66ebd7f1edbf3def1ae6da94f394d2'/>
<id>urn:sha1:91bdb1f19a66ebd7f1edbf3def1ae6da94f394d2</id>
<content type='text'>
writes without incurring unaligned accesses; ok deraadt@
</content>
</entry>
<entry>
<title>/etc/random.seed reuse can now be detected.  The stat +T bit marks the file</title>
<updated>2020-05-26T13:47:27Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-05-26T13:47:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e4a6744d811c9dacc6cbd14518ea6671acce58e9'/>
<id>urn:sha1:e4a6744d811c9dacc6cbd14518ea6671acce58e9</id>
<content type='text'>
(fchmod +T by bootcode, chmod 600 by /etc/rc).  If the seed is reused, and
HWRNG isn't available, the kernel won't get RB_GOODSEED indication...
</content>
</entry>
<entry>
<title>make loadrandom() return 0 for success, -1 for failure.  While here,</title>
<updated>2020-05-25T15:49:41Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-05-25T15:49:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a872426c0e19cd2db852b132ac3ba4865f303e4a'/>
<id>urn:sha1:a872426c0e19cd2db852b132ac3ba4865f303e4a</id>
<content type='text'>
relax the fstat() check because the system will have left the file
in the right mode.
ok visa kettenis
</content>
</entry>
<entry>
<title>If either mdrandom() or fwrandom() return 0, set RB_GOODRANDOM</title>
<updated>2020-05-25T15:28:21Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-05-25T15:28:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d3cf030a52866b6d79bac7fe33be77150afed39a'/>
<id>urn:sha1:d3cf030a52866b6d79bac7fe33be77150afed39a</id>
<content type='text'>
ok kettenis
</content>
</entry>
<entry>
<title>Adjust fwrandom() to return 0 for sucess, -1 for failure</title>
<updated>2020-05-25T14:53:57Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-05-25T14:53:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d4fa8acb0d6af3b6ddbd07c22e37180c5e52477f'/>
<id>urn:sha1:d4fa8acb0d6af3b6ddbd07c22e37180c5e52477f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>For 32 bit systems, cast the long long used by strtoll() to unsigned long</title>
<updated>2019-12-02T01:38:06Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-12-02T01:38:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1f267e12cfbf98d3d6210addd62d9ec338bc61a5'/>
<id>urn:sha1:1f267e12cfbf98d3d6210addd62d9ec338bc61a5</id>
<content type='text'>
and then a void * for calling the hexdump() operator
with bluhm
</content>
</entry>
<entry>
<title>Implement a hexdump command in the boot loader.  This helps to</title>
<updated>2019-11-28T00:17:10Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2019-11-28T00:17:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3fbdbb315f0b99e633dc16e3d2b7a673b2569d3d'/>
<id>urn:sha1:3fbdbb315f0b99e633dc16e3d2b7a673b2569d3d</id>
<content type='text'>
inspect the memory layout that the firmware has created.  It is
especially useful for UEFI debugging.
OK deraadt@ kettenis@
</content>
</entry>
<entry>
<title>Use arc4 to bit-spread the 512-byte random buffer over the .openbsd.randomdata</title>
<updated>2019-10-29T02:55:49Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-10-29T02:55:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f65494e6b175686dd7c3956310013295142d0607'/>
<id>urn:sha1:f65494e6b175686dd7c3956310013295142d0607</id>
<content type='text'>
section, which has grown a fair bit with the introduction of retguard.
Mortimer discovered the repeated 512-byte sequence as retguard keys, and
this resolves the issue.  (Chacha does not fit on the media, so 1.5K early
drop RC4 is hopefully sufficient in our KARL link universe)
Version crank the bootblocks. sysupgrade -s will install new bootblocks.
ok djm mortimer
</content>
</entry>
<entry>
<title>In the bootblocks, after discovering and opening /bsd.upgrade, fchmod -x</title>
<updated>2019-08-03T15:22:17Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-08-03T15:22:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=044dcf883ed02b1363c7ba7b3bffa021c5f0e0e7'/>
<id>urn:sha1:044dcf883ed02b1363c7ba7b3bffa021c5f0e0e7</id>
<content type='text'>
so the file cannot be re-executed upon the next boot.  This provides a
stronger one-shot-upgrade model than the upgrade script's rm /bsd.upgrade.
Now various forms of upgrade failure will reboot into /bsd, which is probably
more recoverable.  Performing fchmod -x depends on (1) use of MI boot.c
(not alpha/macppc/sparc64/sgi/octeon) and (2) "can write blocks" functionality
in the IO layer.  Most architectures have this support now.

Two diagnostics "fchmod a-x %s: failed" and "/bsd.upgrade is not u+x" will
remain in the tree while refinements happen for some of the laggard
architectures.

based upon a discussion florian
tested in snapshots for more than a week without any complaints
</content>
</entry>
<entry>
<title>Fix prototype of upgrade(). OK benno@</title>
<updated>2019-05-10T12:49:58Z</updated>
<author>
<name>claudio</name>
<email>claudio@openbsd.org</email>
</author>
<published>2019-05-10T12:49:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=886f00e8219261d34eaaaa76f4e7f68a86206c52'/>
<id>urn:sha1:886f00e8219261d34eaaaa76f4e7f68a86206c52</id>
<content type='text'>
</content>
</entry>
</feed>
