<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sbin/fdisk/misc.h, branch jd/simplify-queueing</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sbin/fdisk/misc.h?h=jd%2Fsimplify-queueing</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sbin/fdisk/misc.h?h=jd%2Fsimplify-queueing'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2015-11-21T16:45:41Z</updated>
<entry>
<title>Bring GPT partition editing into line with MBR partition editing</title>
<updated>2015-11-21T16:45:41Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-11-21T16:45:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=684c15929ab3ac3abbbcdba77d2d06b5fd9f917c'/>
<id>urn:sha1:684c15929ab3ac3abbbcdba77d2d06b5fd9f917c</id>
<content type='text'>
by presenting the existing offset and size as the defaults. Enhance
getuint64() to take a minimum value as ask_num() does. Use this to
ensure that GPT partitions are constrained to the valid area of the
disk. Leave MBR partition constraints alone for the moment.

Original problem(s) noted by tim@
</content>
</entry>
<entry>
<title>Avoid problems with pathological input during edit operations. i.e. never</title>
<updated>2015-11-12T15:07:41Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-11-12T15:07:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=72070960b809a8c0e77907ab82f1e22c27fc3fdf'/>
<id>urn:sha1:72070960b809a8c0e77907ab82f1e22c27fc3fdf</id>
<content type='text'>
attempt to use data past the end of the input.

Since the return value of ask_cmd() is never checked, make it void instead
of int.

Problems found, original diff from and ok tim@.
</content>
</entry>
<entry>
<title>Add GPT editing. Based on GSOC 2014 work by Markus Muller.</title>
<updated>2015-10-26T15:08:26Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-10-26T15:08:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fba7235c8f065143ebcde5dd90e0f7eb8ce85042'/>
<id>urn:sha1:fba7235c8f065143ebcde5dd90e0f7eb8ce85042</id>
<content type='text'>
</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>Rename MBR_readsector() and MBR_writesector() to just readsector()</title>
<updated>2015-03-29T21:16:39Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-03-29T21:16:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e6bc9b7aa550ea6b3c68013e08f96c97d3e898ab'/>
<id>urn:sha1:e6bc9b7aa550ea6b3c68013e08f96c97d3e898ab</id>
<content type='text'>
and writesector(). Move them to misc.[ch]. Soon to be used for more
than MBR reading/writing.

No intentional functional change.
</content>
</entry>
<entry>
<title>Add a simple crc32() implmentation to avoid pulling in libz, which</title>
<updated>2015-03-28T13:29:16Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-03-28T13:29:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9c0a0199cc8f1fd46a92d3d02cce0788319e3d72'/>
<id>urn:sha1:9c0a0199cc8f1fd46a92d3d02cce0788319e3d72</id>
<content type='text'>
would complicate install media. Will be used by GPT support.
</content>
</entry>
<entry>
<title>Adapt ask_string() from disklabel's getstring(). It will be used</title>
<updated>2015-03-26T20:32:10Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-03-26T20:32:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=dc8e2282a41f2c93c96041ae8e0d4543e0e66300'/>
<id>urn:sha1:dc8e2282a41f2c93c96041ae8e0d4543e0e66300</id>
<content type='text'>
to obtain GPT partition names. Tweak ask_pid() to take low/high
bounds so it can handle 1-ff (MBR) or 1000-ffff (GPT) partition
pids as required. A pid of '0' is still special and disables the
partition.

No visible or intentional functional change.
</content>
</entry>
<entry>
<title>Allow input/printing/conversion of terabyte sizes. Which GPT partitons</title>
<updated>2015-03-26T16:32:16Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-03-26T16:32:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=071475366e41d595f852c5512ef1ee49fda6c12e'/>
<id>urn:sha1:071475366e41d595f852c5512ef1ee49fda6c12e</id>
<content type='text'>
will eventually be able to use.
</content>
</entry>
<entry>
<title>Expand internal representation of partition starting LBA and size</title>
<updated>2015-03-26T14:08:12Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-03-26T14:08:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5f3fed51b64d0bc937aa00fe3d40c08792907c2c'/>
<id>urn:sha1:5f3fed51b64d0bc937aa00fe3d40c08792907c2c</id>
<content type='text'>
to 64 bits, adjusting printf()'s, etc. as required. Preparing for
GPT partitions. Add 't' size unit. No other intentional functional
change.
</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>
</feed>
