<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/bin/dd/misc.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/bin/dd/misc.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/bin/dd/misc.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2018-04-07T18:52:39Z</updated>
<entry>
<title>snprintf+writev -&gt; dprintf</title>
<updated>2018-04-07T18:52:39Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2018-04-07T18:52:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=101d85defab7899f8ea233452efc57c411ea7e6b'/>
<id>urn:sha1:101d85defab7899f8ea233452efc57c411ea7e6b</id>
<content type='text'>
Much simpler.

Dropping writev makes the output from summary() non-atomic, so
output lines triggered by SIGINFO can intermingle with output
lines triggered by SIGINT or atexit(3).

This behavior is difficult to trigger, even deliberately.

The buffer in dprintf is large enough so that lines produced by
summary() are not garbled if this occurs, though, so this is unlikely
to break any scripts.

Discussed at length with deraadt@, who helpfully noted that
"not all problems have perfect solutions."

ok millert@
</content>
</entry>
<entry>
<title>When dd(1) fails because it receives an INT signal,</title>
<updated>2017-10-24T14:21:10Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2017-10-24T14:21:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d88e47e1e524ce3793ee7227bc948b10f1f016e8'/>
<id>urn:sha1:d88e47e1e524ce3793ee7227bc948b10f1f016e8</id>
<content type='text'>
exit with a non-zero EXIT STATUS, as required by POSIX,
consistent with what other operating systems do, consistent
with how other OpenBSD programs behave, and making wait(2)
consistent with what happens when dd(1) dies from other signals.
Patch from &lt;ScottCheloha at gmail dot com&gt;.
OK florian@ tb@.
</content>
</entry>
<entry>
<title>convert gettimeofday to mono clock.</title>
<updated>2017-08-13T02:06:42Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2017-08-13T02:06:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c483b0589d33122e04f33635a697a803fdcc4eb0'/>
<id>urn:sha1:c483b0589d33122e04f33635a697a803fdcc4eb0</id>
<content type='text'>
from Scott Cheloha
</content>
</entry>
<entry>
<title>remove lint comments</title>
<updated>2016-08-25T05:25:21Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2016-08-25T05:25:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d0abaeb4c72264b17ae48e5e56a83d8a1de6591d'/>
<id>urn:sha1:d0abaeb4c72264b17ae48e5e56a83d8a1de6591d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>%qd -&gt; %lld for an off_t already being cast to (long long)!</title>
<updated>2016-08-14T21:13:08Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2016-08-14T21:13:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2af3a314e8e39fdead2830838fc65bdd21057252'/>
<id>urn:sha1:2af3a314e8e39fdead2830838fc65bdd21057252</id>
<content type='text'>
</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>
<entry>
<title>handle larger tv_sec types</title>
<updated>2013-04-16T22:13:43Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2013-04-16T22:13:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=dec5320611f14ddd7e029a33fd689e40588be28d'/>
<id>urn:sha1:dec5320611f14ddd7e029a33fd689e40588be28d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and</title>
<updated>2009-10-27T23:59:19Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2009-10-27T23:59:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=043fbe51c197dbbcd422e917b65f765d8b5f8874'/>
<id>urn:sha1:043fbe51c197dbbcd422e917b65f765d8b5f8874</id>
<content type='text'>
unmaintainable).  these days, people use source.  these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
</content>
</entry>
<entry>
<title>change %u to %zu to correctly print size_t</title>
<updated>2006-03-22T18:08:04Z</updated>
<author>
<name>dhill</name>
<email>dhill@openbsd.org</email>
</author>
<published>2006-03-22T18:08:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a72378317a1ec8953825a265417f9b94964baa00'/>
<id>urn:sha1:a72378317a1ec8953825a265417f9b94964baa00</id>
<content type='text'>
ok ray@ jaredy@ moritz@
</content>
</entry>
<entry>
<title>include sys/time.h to get struct timeval</title>
<updated>2005-05-27T04:14:24Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2005-05-27T04:14:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=35fbec4f957fc74aeceb707916200c5fbe48d31e'/>
<id>urn:sha1:35fbec4f957fc74aeceb707916200c5fbe48d31e</id>
<content type='text'>
</content>
</entry>
</feed>
