<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sbin/mountd/mountd.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sbin/mountd/mountd.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sbin/mountd/mountd.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-01-24T18:51:45Z</updated>
<entry>
<title>simplify, no need to make a copy of the filename, pointer is fine</title>
<updated>2020-01-24T18:51:45Z</updated>
<author>
<name>espie</name>
<email>espie@openbsd.org</email>
</author>
<published>2020-01-24T18:51:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=07f4c7f89dbab61f7351f4929879341727a1a7d1'/>
<id>urn:sha1:07f4c7f89dbab61f7351f4929879341727a1a7d1</id>
<content type='text'>
okay millert@ schwarze@
</content>
</entry>
<entry>
<title>When system calls indicate an error they return -1, not some arbitrary</title>
<updated>2019-06-28T13:32:41Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-06-28T13:32:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=df69c215c7c66baf660f3f65414fd34796c96152'/>
<id>urn:sha1:df69c215c7c66baf660f3f65414fd34796c96152</id>
<content type='text'>
value &lt; 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
</content>
</entry>
<entry>
<title>Ignore SIGPIPE in case a TCP client resets the connect</title>
<updated>2018-04-28T09:56:21Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2018-04-28T09:56:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d350cff270c8b82f300c5eb6706fae20fac0e6a6'/>
<id>urn:sha1:d350cff270c8b82f300c5eb6706fae20fac0e6a6</id>
<content type='text'>
ok otto@
</content>
</entry>
<entry>
<title>Remove unnecessary SIGSYS/ENOSYS handling for getfh(2).</title>
<updated>2015-12-23T21:32:52Z</updated>
<author>
<name>tim</name>
<email>tim@openbsd.org</email>
</author>
<published>2015-12-23T21:32:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c1d141eeaaef82474554d70257634b0ff8c282d3'/>
<id>urn:sha1:c1d141eeaaef82474554d70257634b0ff8c282d3</id>
<content type='text'>
Encouragement from deraadt@
</content>
</entry>
<entry>
<title>Add privilege separation and pledge().</title>
<updated>2015-12-23T21:16:17Z</updated>
<author>
<name>tim</name>
<email>tim@openbsd.org</email>
</author>
<published>2015-12-23T21:16:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7597620d733b6a024dfe98828c214f7cb824469b'/>
<id>urn:sha1:7597620d733b6a024dfe98828c214f7cb824469b</id>
<content type='text'>
A privileged (that is, unpledged) child is forked that makes the "unpledgable"
getfh(2) and mount(2) calls. It also takes care of writing /var/db/mountdtab so
that the parent does not have to pledge "cpath wpath".

This, then, allows the parent to pledge "stdio rpath inet dns".

Suggestions and OK deraadt@
</content>
</entry>
<entry>
<title>When (re)reading /etc/exports, handle the case where the mount point of an</title>
<updated>2015-12-15T18:17:34Z</updated>
<author>
<name>tim</name>
<email>tim@openbsd.org</email>
</author>
<published>2015-12-15T18:17:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a3d08ac246d64833a9543ab6b47763ac8a6cc8bc'/>
<id>urn:sha1:a3d08ac246d64833a9543ab6b47763ac8a6cc8bc</id>
<content type='text'>
export is not also the mount point of a local filesystem. In this case, the
local filesystem would not be removed from the "unexport list", causing the
export to be "unexported" again.

This fix then also allows us to actually delete an export that has been removed
from /etc/exports, by passing the MNT_DELEXPORT export flag to mount(2).

Makes sense to millert@.
</content>
</entry>
<entry>
<title>Remove NULL-checks before free(). ok tb@</title>
<updated>2015-12-10T17:26:59Z</updated>
<author>
<name>mmcc</name>
<email>mmcc@openbsd.org</email>
</author>
<published>2015-12-10T17:26:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5ce950dec1b2e812fc64a836d68b866ed975b0f1'/>
<id>urn:sha1:5ce950dec1b2e812fc64a836d68b866ed975b0f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Two reallocarray() conversions that were missed earlier.</title>
<updated>2015-08-20T22:16:35Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2015-08-20T22:16:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=89712eb620e16d9e8916a471f4e40ff3cec15a26'/>
<id>urn:sha1:89712eb620e16d9e8916a471f4e40ff3cec15a26</id>
<content type='text'>
OK deraadt@
</content>
</entry>
<entry>
<title>&lt;stdlib.h&gt; is included, so do not need to cast result from</title>
<updated>2015-08-20T22:02:20Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-08-20T22:02:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5ae94ef8a285245bd02b1b03af550cc96e44285d'/>
<id>urn:sha1:5ae94ef8a285245bd02b1b03af550cc96e44285d</id>
<content type='text'>
malloc, calloc, realloc*
ok krw millert
</content>
</entry>
<entry>
<title>Replace &lt;sys/param.h&gt; with &lt;limits.h&gt; and other less dirty headers where</title>
<updated>2015-01-16T06:39:28Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-01-16T06:39:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b9fc9a728fce9c4289b7e9a992665e28d5629a54'/>
<id>urn:sha1:b9fc9a728fce9c4289b7e9a992665e28d5629a54</id>
<content type='text'>
possible.  Annotate &lt;sys/param.h&gt; lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
</content>
</entry>
</feed>
