<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-06-22T13:42:06Z</updated>
<entry>
<title>spelling fix;</title>
<updated>2020-06-22T13:42:06Z</updated>
<author>
<name>jmc</name>
<email>jmc@openbsd.org</email>
</author>
<published>2020-06-22T13:42:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=bc0ee81f054f4f7d750f13eea3b7e67fa5aac56c'/>
<id>urn:sha1:bc0ee81f054f4f7d750f13eea3b7e67fa5aac56c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Extend kqueue interface with EVFILT_EXCEPT filter.</title>
<updated>2020-06-22T13:14:32Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2020-06-22T13:14:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7ab02df9ba969938f0d288bc81680642c429c9c4'/>
<id>urn:sha1:7ab02df9ba969938f0d288bc81680642c429c9c4</id>
<content type='text'>
This filter, already implemented in macOS and Dragonfly BSD, returns
exceptional conditions like the reception of out-of-band data.

The functionnality is similar to poll(2)'s POLLPRI &amp; POLLRDBAND and
it can be used by the kqfilter-based poll &amp; select implementation.

ok millert@ on a previous version, ok visa@
</content>
</entry>
<entry>
<title>In the libc resolver function asr_run(), clear the result buffer everytime,</title>
<updated>2020-06-07T16:16:01Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-06-07T16:16:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=30d3f3d9a6bd805f226514fbf3d455eb7d2ba7e6'/>
<id>urn:sha1:30d3f3d9a6bd805f226514fbf3d455eb7d2ba7e6</id>
<content type='text'>
because there are callers who were inspecting unrelated fields.
discussion with eric, otto, solution from semarie
this is errata 6.6/031_asr and 6.7/009_asr
</content>
</entry>
<entry>
<title>Fix printing long doubles on architectures with hm and lm bits.</title>
<updated>2020-05-31T12:27:19Z</updated>
<author>
<name>mortimer</name>
<email>mortimer@openbsd.org</email>
</author>
<published>2020-05-31T12:27:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5fa1580916d2d3b9f48baf23f279d01ab6b56631'/>
<id>urn:sha1:5fa1580916d2d3b9f48baf23f279d01ab6b56631</id>
<content type='text'>
Issue reported with initial patch by enh@google.com.

ok deraadt@
</content>
</entry>
<entry>
<title>Remove an outdated BUGS section.</title>
<updated>2020-05-31T03:49:44Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2020-05-31T03:49:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c7407b7476bfc528db4bb1a62f067801d0fe2c39'/>
<id>urn:sha1:c7407b7476bfc528db4bb1a62f067801d0fe2c39</id>
<content type='text'>
OK mpi@ beck@
</content>
</entry>
<entry>
<title>This patch fixes one bug and one instance of undesirable behaviour.</title>
<updated>2020-05-27T22:25:09Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2020-05-27T22:25:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0025f5bb9c9be650004db9e38ab09eea44e2b392'/>
<id>urn:sha1:0025f5bb9c9be650004db9e38ab09eea44e2b392</id>
<content type='text'>
The bug, present since 4.4BSD, was that a trailing dash in an option
group, when the dash is not permitted as an option letter, resulted
in the whole option group being returned as an argument, even though
the previous option in the group was already parsed as an option:
OPTS=abc ./getopt-test -a- -c arg  ===&gt;&gt;  OPT(a)ARG(-a-)ARG(-c)ARG(arg).
Instead, treat the dash as an invalid option and continue parsing
options:  ===&gt;&gt;  OPT(a)ERR(?-)OPT(c)ARG(arg).

The undesirable behaviour was that allowing the dash as an option
letter only allowed isolated dashes ("-") and trailing dashes in
groups ("-a-"), but neither middle dashes in groups ("-a-b"), even
though that already partially worked in 4.4BSD, nor leading dashes
in groups ("--a"), even though that works on all other BSDs and on
glibc.  Also, while POSIX does not require that the dash can be
used as an option letter at all, arguably, it encourages that letters
either be fully supported or not supported at all.  It is dubious
whether supporting an option letter in some positions but not in
others can be considered conforming.

This patch makes OpenBSD behaviour identical to FreeBSD and NetBSD,
improves compatibility with glibc (except that glibc does not support
isolated "-"), improves compatibility with DragonFly (except that
DragonFly is buggy when the dash option letter can take an optional
argument but that argument is not present), improves compatibility
with Illumos and Solaris 11 (except those do not support "-" and
mishandle "--a"), and restores 4.4BSD behaviour for "-a-b".  In no
respect i'm aware of is compatibility with any other systems reduced.

For the full rationale, see my mail to tech@
on 30 Mar 2020 14:26:41 +0200.

Part of the problem was originally reported by an anonymous coward
on tech@ on 12 Mar 2020 03:40:24 +0200, additional analysis was
contributed by martijn@, and then the OP sent the final version of
the patch i'm now committing on 17 Mar 2020 19:17:56 +0200.

No licensing problem here because after the commit, the file does
not contain a single word written by the OP.  Also, the OP told me
in private mail that he intends to publish the patch under the ISC
license already contained in the file and that he wishes to be known
by the pseudonym "0xef967c36".

OK martijn@, and no objection when shown on tech@,
but commit delayed to stay clear of the release.
</content>
</entry>
<entry>
<title>Fix forgotten references to removed mixer.4 manual</title>
<updated>2020-05-17T05:48:39Z</updated>
<author>
<name>ratchov</name>
<email>ratchov@openbsd.org</email>
</author>
<published>2020-05-17T05:48:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=082a9e6de974ada063b2a60934b1e44de92db27c'/>
<id>urn:sha1:082a9e6de974ada063b2a60934b1e44de92db27c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>drop duplicate word;</title>
<updated>2020-04-30T18:36:12Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2020-04-30T18:36:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fa4a8801aee39f097f882114d5862ee62327c0c8'/>
<id>urn:sha1:fa4a8801aee39f097f882114d5862ee62327c0c8</id>
<content type='text'>
reported by Gordon Bergling &lt;gbergling at gmail dot com&gt;
</content>
</entry>
<entry>
<title>Minimal maintenance to make this mess slightly less confusing:</title>
<updated>2020-04-26T16:36:14Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2020-04-26T16:36:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=88446cb79ca2b3832e381afca46bb05669262b50'/>
<id>urn:sha1:88446cb79ca2b3832e381afca46bb05669262b50</id>
<content type='text'>
queue -&gt; list; mention "intrusive"; element -&gt; member at one place;
delete a bogus remark that maybe referred to a long-gone
implementation in VAX assembly code.
Much more could be improved, but i don't want to waste too much time here.
</content>
</entry>
<entry>
<title>fix the description; from andras farkas</title>
<updated>2020-04-26T13:59:56Z</updated>
<author>
<name>jmc</name>
<email>jmc@openbsd.org</email>
</author>
<published>2020-04-26T13:59:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e240c74ef048f35e40872cd07ffc0d43bead3be1'/>
<id>urn:sha1:e240c74ef048f35e40872cd07ffc0d43bead3be1</id>
<content type='text'>
ok schwarze

kill a Tn while here...
</content>
</entry>
</feed>
