<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/kern/uipc_usrreq.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/kern/uipc_usrreq.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/kern/uipc_usrreq.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-07-16T21:41:37Z</updated>
<entry>
<title>Fix uipc white spaces.</title>
<updated>2019-07-16T21:41:37Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2019-07-16T21:41:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=bb127fc6282420973c9ca3b056fb3bd04bea66dd'/>
<id>urn:sha1:bb127fc6282420973c9ca3b056fb3bd04bea66dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert struct unpcb malloc(9) to pool_get(9).</title>
<updated>2019-07-15T12:28:06Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2019-07-15T12:28:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4262cdf05e0058e47e40e633e947d52e882f9052'/>
<id>urn:sha1:4262cdf05e0058e47e40e633e947d52e882f9052</id>
<content type='text'>
OK mpi@ visa@
</content>
</entry>
<entry>
<title>Prevent a kernel hang if an empty message is sent over an SOCK_SEQPACKET</title>
<updated>2019-05-24T15:17:29Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2019-05-24T15:17:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=709330d54b7a2e2148ce7d87be7357dea32cf1d4'/>
<id>urn:sha1:709330d54b7a2e2148ce7d87be7357dea32cf1d4</id>
<content type='text'>
socketpair.  Do not wakeup receiver if there is no data available.
OK claudio@ anton@
</content>
</entry>
<entry>
<title>Allow SO_PEERCRED to be called on sockets created with socketpair.</title>
<updated>2019-02-13T11:55:21Z</updated>
<author>
<name>martijn</name>
<email>martijn@openbsd.org</email>
</author>
<published>2019-02-13T11:55:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f5047ce691144ceb1aa7f53b6ff09d12719fc40e'/>
<id>urn:sha1:f5047ce691144ceb1aa7f53b6ff09d12719fc40e</id>
<content type='text'>
OK claudio@ and jca@
</content>
</entry>
<entry>
<title>Avoid an mbuf double free in the oob soreceive() path.  In the</title>
<updated>2019-02-04T21:40:52Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2019-02-04T21:40:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=418b2720a1c00ce069c8a9d07505aceb34bd5dcf'/>
<id>urn:sha1:418b2720a1c00ce069c8a9d07505aceb34bd5dcf</id>
<content type='text'>
usrreq functions move the mbuf m_freem() logic to the release block
instead of distributing it over the switch statement.  Then the
goto release in the initial check, whether the pcb still exists,
will not free the mbuf for the PRU_RCVD, PRU_RVCOOB, PRU_SENSE
command.
OK claudio@ mpi@ visa@
Reported-by: syzbot+8e7997d4036ae523c79c@syzkaller.appspotmail.com
</content>
</entry>
<entry>
<title>In unp_internalize() check the length more carefully preventing an</title>
<updated>2018-11-21T17:07:07Z</updated>
<author>
<name>claudio</name>
<email>claudio@openbsd.org</email>
</author>
<published>2018-11-21T17:07:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=97aa0691961a19e13ba6462bce70d502bfe82ff8'/>
<id>urn:sha1:97aa0691961a19e13ba6462bce70d502bfe82ff8</id>
<content type='text'>
underflow in a later calcuation. Using the same CMSG_LEN(0) check
that other cmsghdr handlers implemented.
Probelm found by anton@
OK anton@, deraadt@, visa@
</content>
</entry>
<entry>
<title>When using MSG_PEEK to peak into packets skip control messages holding</title>
<updated>2018-11-21T16:50:49Z</updated>
<author>
<name>claudio</name>
<email>claudio@openbsd.org</email>
</author>
<published>2018-11-21T16:50:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4a3de96cf877b2cef24440fcea1a9273d69f32cd'/>
<id>urn:sha1:4a3de96cf877b2cef24440fcea1a9273d69f32cd</id>
<content type='text'>
SCM_RIGHTS from being sent to the userland since they hold kernel internal
data and it does not make sense to externalize it.
OK deraadt@, guenther@, visa@
</content>
</entry>
<entry>
<title>M_LEADINGSPACE() and M_TRAILINGSPACE() are just wrappers for</title>
<updated>2018-11-09T14:14:31Z</updated>
<author>
<name>claudio</name>
<email>claudio@openbsd.org</email>
</author>
<published>2018-11-09T14:14:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b5b7f62e3c22c1e16592be047f41a6fe57ed854d'/>
<id>urn:sha1:b5b7f62e3c22c1e16592be047f41a6fe57ed854d</id>
<content type='text'>
m_leadingspace() and m_trailingspace(). Convert all callers to call
directly the functions and remove the defines.
OK krw@, mpi@
</content>
</entry>
<entry>
<title>Use function name in panic string, like in some other places.</title>
<updated>2018-07-09T10:58:21Z</updated>
<author>
<name>claudio</name>
<email>claudio@openbsd.org</email>
</author>
<published>2018-07-09T10:58:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0bdc5f1afe86ddf535b1107c51e3197336937e37'/>
<id>urn:sha1:0bdc5f1afe86ddf535b1107c51e3197336937e37</id>
<content type='text'>
OK henning@ benno@
</content>
</entry>
<entry>
<title>Update the file reference count field `f_count' using atomic operations</title>
<updated>2018-07-02T14:36:33Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2018-07-02T14:36:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7150c57b2cdaae7fcdcaac480e5ef09f5ec90db5'/>
<id>urn:sha1:7150c57b2cdaae7fcdcaac480e5ef09f5ec90db5</id>
<content type='text'>
instead of using a mutex for update serialization. Use a per-fdp mutex
to manage updating of file instance pointers in the `fd_ofiles' array
to let fd_getfile() acquire file references safely with concurrent file
reference releases.

OK mpi@
</content>
</entry>
</feed>
