<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sbin/fdisk/disk.h, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sbin/fdisk/disk.h?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sbin/fdisk/disk.h?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2015-12-12T02:49:50Z</updated>
<entry>
<title>Open disk READONLY if none of i, e or u are specified.</title>
<updated>2015-12-12T02:49:50Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-12-12T02:49:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1803853c65a4fd2fc13cc669f6c85f6307daf65a'/>
<id>urn:sha1:1803853c65a4fd2fc13cc669f6c85f6307daf65a</id>
<content type='text'>
Suggestion, original diff and ok naddy@
</content>
</entry>
<entry>
<title>Move from opening/closing disk for every i/o to opening the disk once</title>
<updated>2015-11-13T02:27:17Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-11-13T02:27:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0468c08fb6167cb97b9d5edc07c92bba65e584e4'/>
<id>urn:sha1:0468c08fb6167cb97b9d5edc07c92bba65e584e4</id>
<content type='text'>
and saving the fd in the global 'disk' structure. Stop passing around
fd's and just use the global.

Makes pledge() feasible.

Prompted by and ok deraadt@
</content>
</entry>
<entry>
<title>Even better -- readsector() and writesector() become DISK_readsector() and</title>
<updated>2015-03-30T17:11:49Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-03-30T17:11:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c2348643a1a77b3807efc59b8fa3beeea7080886'/>
<id>urn:sha1:c2348643a1a77b3807efc59b8fa3beeea7080886</id>
<content type='text'>
DISK_writesector() and live in disk.[ch].
</content>
</entry>
<entry>
<title>Stop passing around a pointer to the stack variable 'disk' in main().</title>
<updated>2015-03-16T23:51:50Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-03-16T23:51:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ac519580dd26e7986bc05ed227e2982467648dac'/>
<id>urn:sha1:ac519580dd26e7986bc05ed227e2982467648dac</id>
<content type='text'>
There is only one disk being worked on, so just make it a global.

Fewer parameters, less confusion, no functional change.
</content>
</entry>
<entry>
<title>Switch all the license blocks to the standard OpenBSD/ISC license.</title>
<updated>2015-03-14T15:21:53Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-03-14T15:21:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=10a68084a7e5a4b6a5d8549dacc56b4ee5c3f40d'/>
<id>urn:sha1:10a68084a7e5a4b6a5d8549dacc56b4ee5c3f40d</id>
<content type='text'>
With the permission of Toby.

ok deraadt@
</content>
</entry>
<entry>
<title>Nuke pointless blank lines, defines, comments and casts. Eliminate</title>
<updated>2014-03-17T16:40:00Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2014-03-17T16:40:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a547210761582e6a17ef87ef8071ea712cfb000e'/>
<id>urn:sha1:a547210761582e6a17ef87ef8071ea712cfb000e</id>
<content type='text'>
#include in *.h files in favour of listing them as required in the *.c
files. Fix error message to correctly state that 64 is the minimum
value for -l. Use errx() where errno is not relevant. Use 'continue'
rather than a label to go back to start of a loop.

No intentional functional change.
</content>
</entry>
<entry>
<title>Un-revert, being careful to not break snap building. Add paranoia check</title>
<updated>2014-03-17T13:15:44Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2014-03-17T13:15:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5cbc89619fc607712868d6a24cfc81259e9c5ed7'/>
<id>urn:sha1:5cbc89619fc607712868d6a24cfc81259e9c5ed7</id>
<content type='text'>
for any missing geometry.
</content>
</entry>
<entry>
<title>Revert last -- broke building snaps.</title>
<updated>2014-03-14T15:41:33Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2014-03-14T15:41:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1a797a71818e7b22dc67d8736a3062e89e06e75f'/>
<id>urn:sha1:1a797a71818e7b22dc67d8736a3062e89e06e75f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge 'struct DISK_metrics' and 'struct disk' into one, since we don't</title>
<updated>2014-03-13T12:02:28Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2014-03-13T12:02:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6333ae4c5d3faa2584ac232e33f0b6be7a0251b9'/>
<id>urn:sha1:6333ae4c5d3faa2584ac232e33f0b6be7a0251b9</id>
<content type='text'>
need to record two sets of metric/geometry data. Use 'geometry'
instead of 'metrics' in names and comments. Eliminate
DISK_getmetrics().

While here, make 64 the minimal valid value for '-l' instead of 1. This
avoids the possibility of having 0 cylinders.

No intentional functional change.

Feedback &amp; tweak from chris@
</content>
</entry>
<entry>
<title>Relieve the code of an overburden of unnecessary typedef</title>
<updated>2014-03-07T21:56:13Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2014-03-07T21:56:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=53f0474f0ee780b0984c18b1671c8ef8dc3ec6c8'/>
<id>urn:sha1:53f0474f0ee780b0984c18b1671c8ef8dc3ec6c8</id>
<content type='text'>
abstraction. Call a 'struct' a 'struct' and not a pony.

No functional change.

idea ok deraadt@
</content>
</entry>
</feed>
