<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/bin/dd/args.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/bin/dd/args.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/bin/dd/args.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-02-16T10:54:00Z</updated>
<entry>
<title>Implement the conv=fsync feature which does an fsync(2) after the</title>
<updated>2019-02-16T10:54:00Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2019-02-16T10:54:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=bce29b5c6b7d6167bb1d5f976a0ba717a3c61973'/>
<id>urn:sha1:bce29b5c6b7d6167bb1d5f976a0ba717a3c61973</id>
<content type='text'>
final write to output.  GNU dd also has this.  It is useful for
write performance measurement or guaranteed writes to reliable
storage.
OK kn@ tedu@ deraadt@
</content>
</entry>
<entry>
<title>Free operand copies after parsing.</title>
<updated>2018-07-25T15:09:48Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2018-07-25T15:09:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4b4540bb20fa5e229cced74b0bc6b43f374d8be3'/>
<id>urn:sha1:4b4540bb20fa5e229cced74b0bc6b43f374d8be3</id>
<content type='text'>
We strdup operands before destructively parsing them to keep w(1) output
looking nice and neat, but after parsing we ought to free them.

We do need to keep copies for file paths, though, so add additional strdups
for operands if and of.

While here, use the preferred err(1, NULL) for an allocation failure.  Also
while here, don't assign `oper' to a copy of itself because it looks strange.

"sure." deraadt
</content>
</entry>
<entry>
<title>Stop "dd if=/dev/zero of=/dev/null bs=1 count=2 skip=0x7fffffffffffffff"</title>
<updated>2018-01-03T19:12:20Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2018-01-03T19:12:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=153396c3cab78351979eb570010acadde1497690'/>
<id>urn:sha1:153396c3cab78351979eb570010acadde1497690</id>
<content type='text'>
from erroring out with "dd: skip: Undefined error: 0", mostly for
consistency and to avoid the unidiomatic, wrong looking code.
Patch from Bulat Musin &lt;mbulatka at yandex dot ru&gt;.
OK guenther@ millert@
</content>
</entry>
<entry>
<title>Nuke a bunch of whitespace nits seen while '%q' hunting.</title>
<updated>2016-08-16T16:44:55Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2016-08-16T16:44:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4220d8fd156d26bc4186aa43c5b51b0e3480bc5e'/>
<id>urn:sha1:4220d8fd156d26bc4186aa43c5b51b0e3480bc5e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>replace strtoq with strtoll. ok openbsd</title>
<updated>2016-08-14T13:40:55Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2016-08-14T13:40:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a43a44b4082114046a01c8786c0447c871003151'/>
<id>urn:sha1:a43a44b4082114046a01c8786c0447c871003151</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Error out when negative values are given for sizes on the command line.</title>
<updated>2014-09-14T22:44:47Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2014-09-14T22:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=60e2b159a68c45bfc57d77bd2683dc6e05fdf262'/>
<id>urn:sha1:60e2b159a68c45bfc57d77bd2683dc6e05fdf262</id>
<content type='text'>
Do not error out when the maximum permissible value is given,
but only when it is exceeded.
Patch from William Orr &lt;will at worrbase dot com&gt; using feedback from tedu@.
ok millert@
</content>
</entry>
<entry>
<title>Use errc/warnc to simplify code.</title>
<updated>2014-05-21T06:23:01Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2014-05-21T06:23:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=cd5cfea9f9edde0a9db901fc7f8e6b715813c699'/>
<id>urn:sha1:cd5cfea9f9edde0a9db901fc7f8e6b715813c699</id>
<content type='text'>
ok jca@ krw@
</content>
</entry>
<entry>
<title>The "old" conversions are not mandated by any standard and are</title>
<updated>2014-03-27T15:32:13Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2014-03-27T15:32:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2c3661bde4def59b3c72aa7fb5ec5c523428b2ca'/>
<id>urn:sha1:2c3661bde4def59b3c72aa7fb5ec5c523428b2ca</id>
<content type='text'>
underspecified. The man page offers little guidance as to their use.
Remove them and spare people the (likely poor) decision to use them.
ok deraadt jmc millert
</content>
</entry>
<entry>
<title>support gigabytes. also update some comments and make goto label nicer.</title>
<updated>2014-03-24T21:42:41Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2014-03-24T21:42:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3058619e929b39c2bf8fd10e7138fa64e8960c51'/>
<id>urn:sha1:3058619e929b39c2bf8fd10e7138fa64e8960c51</id>
<content type='text'>
ok deraadt jmc
</content>
</entry>
<entry>
<title>Add an operand to /bin/dd that suppresses the status lines printed</title>
<updated>2014-02-12T01:18:36Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2014-02-12T01:18:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1f29dce2e9aef7782c8bb0004235d2194b0e4229'/>
<id>urn:sha1:1f29dce2e9aef7782c8bb0004235d2194b0e4229</id>
<content type='text'>
to stderr after transfer.  Use the GNU syntax status=noxfer and
status=none to make dd quiet.  The output is annoying in some
situations, so people redirect stderr to /dev/null.  This approach
also suppresses the error messages and bugs in shell scripts remain
undetected.  The new feature status=none is the better alternative.
OK mpf@
</content>
</entry>
</feed>
