<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sbin/dump/traverse.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sbin/dump/traverse.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sbin/dump/traverse.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2018-04-26T17:40:48Z</updated>
<entry>
<title>Cast a multiplicand to ino_t to avoid overflow in 32*32=64 calculations</title>
<updated>2018-04-26T17:40:48Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2018-04-26T17:40:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d16fc9bbbb1d9d13a7d7164bbd8cd2a9d9a1aa74'/>
<id>urn:sha1:d16fc9bbbb1d9d13a7d7164bbd8cd2a9d9a1aa74</id>
<content type='text'>
ok pirofti@ krw@
</content>
</entry>
<entry>
<title>Adjust &lt;sys/param.h&gt; comments regarding use of use of MAXFRAG, or</title>
<updated>2015-01-20T18:22:20Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-01-20T18:22:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=78eb0b7e750a8abce6d5bf75f3980c4936ee0c1c'/>
<id>urn:sha1:78eb0b7e750a8abce6d5bf75f3980c4936ee0c1c</id>
<content type='text'>
delete &lt;sys/param.h&gt; if now possible
ok guenther
</content>
</entry>
<entry>
<title>Replace &lt;sys/param.h&gt; with &lt;limits.h&gt; and other less dirty headers where</title>
<updated>2015-01-16T06:39:28Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-01-16T06:39:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b9fc9a728fce9c4289b7e9a992665e28d5629a54'/>
<id>urn:sha1:b9fc9a728fce9c4289b7e9a992665e28d5629a54</id>
<content type='text'>
possible.  Annotate &lt;sys/param.h&gt; lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
</content>
</entry>
<entry>
<title>Add internal buffering when dumping a device with non-512 byte</title>
<updated>2014-07-10T09:33:43Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2014-07-10T09:33:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=892d6e700a0c0251c829e5d6cab965a9315e1d7d'/>
<id>urn:sha1:892d6e700a0c0251c829e5d6cab965a9315e1d7d</id>
<content type='text'>
sectors. This ensures that the requested data, and all the requested
data, is actually read from the device.

Should have no effect on 512-byte sector devices, but makes dump work
on 4096-byte sector devices.

Problem noted by and fix tested by David Vasek.
</content>
</entry>
<entry>
<title>Type cleanup:</title>
<updated>2014-06-13T20:43:06Z</updated>
<author>
<name>naddy</name>
<email>naddy@openbsd.org</email>
</author>
<published>2014-06-13T20:43:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0603cbef045c8049765b31a5cd01e37a415cb6b1'/>
<id>urn:sha1:0603cbef045c8049765b31a5cd01e37a415cb6b1</id>
<content type='text'>
* Move all off_t variables that don't look like file sizes to int64_t.
* Switch blockswritten to int64_t, so it won't wrap at 2TB.
* Same for blocksthisvol (from deraadt@).
* Switch xferrate (from tedu@) and blocksperfile from long to uint64_t.
* Since blocksperfile can be set with -B, move numarg() from long
to long long and don't mark small integer constant arguments as long.

ok deraadt@, tedu@
</content>
</entry>
<entry>
<title>Oops. We're reporting DEV_BSIZE values in error messages, so call</title>
<updated>2014-05-31T14:15:22Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2014-05-31T14:15:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=914758914d241edf6c97f2f54b8d088a93a7b388'/>
<id>urn:sha1:914758914d241edf6c97f2f54b8d088a93a7b388</id>
<content type='text'>
them 'blocks' not 'sectors'.
</content>
</entry>
<entry>
<title>Cast daddr_t variable (blkno) to (long long) when printing with %lld.</title>
<updated>2014-05-31T11:28:44Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2014-05-31T11:28:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=61945d5144856472e9ad25c494e8919260c3b917'/>
<id>urn:sha1:61945d5144856472e9ad25c494e8919260c3b917</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Where trying to pread() a single disk sector, the i/o must be for the</title>
<updated>2014-05-27T12:35:40Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2014-05-27T12:35:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b39ffb6c3825cc2825044c264f57539568d6cd58'/>
<id>urn:sha1:b39ffb6c3825cc2825044c264f57539568d6cd58</id>
<content type='text'>
actual disk sector size and not DEV_BSIZE. The sector size must be
obtained via the disklabel. Larger i/o's must be multiple sectors,
so when retrying with a smaller size shrink the attempt by one sector
and not DEV_BSIZE.

Of course if your d_secsize is DEV_BSIZE, this will all be a no-op.

This does not make non-512-byte sectors work, but puts in place the
logic to get and use the disklabel info. Which makes the next diffs
bite sized and focused.

ok guenther@
</content>
</entry>
<entry>
<title>Nuke last of the illusionary 'dev_bsize' and 'dev_bshift' variables in</title>
<updated>2014-05-24T21:49:09Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2014-05-24T21:49:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=171a36856927c1269a764160f1bc4b0cd158b1c9'/>
<id>urn:sha1:171a36856927c1269a764160f1bc4b0cd158b1c9</id>
<content type='text'>
favour of DEV_BSIZE. No-op on 512-byte sector devices.
</content>
</entry>
<entry>
<title>Nuke some trailing whitespace and break some long lines to shrink</title>
<updated>2014-05-21T17:38:30Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2014-05-21T17:38:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=af12d45643826776d5981ddcfd9d4575a7e88357'/>
<id>urn:sha1:af12d45643826776d5981ddcfd9d4575a7e88357</id>
<content type='text'>
subsequent diffs.
</content>
</entry>
</feed>
