<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/kern/exec_script.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/kern/exec_script.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/kern/exec_script.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-07-15T04:11:03Z</updated>
<entry>
<title>Do not relock fdp in fdrelease(). This prevents unnecessary locking</title>
<updated>2019-07-15T04:11:03Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2019-07-15T04:11:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8994f64af411fc832c7f1ee3934cc414321f1e81'/>
<id>urn:sha1:8994f64af411fc832c7f1ee3934cc414321f1e81</id>
<content type='text'>
in the common case.

OK mpi@
</content>
</entry>
<entry>
<title>Put file descriptors on shared data structures when they are completely</title>
<updated>2018-06-18T09:15:05Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2018-06-18T09:15:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=cd6537e7223b2832188a5e0003b6f78cca96e374'/>
<id>urn:sha1:cd6537e7223b2832188a5e0003b6f78cca96e374</id>
<content type='text'>
setup, take 3.

LARVAL fd still exist, but they are no longer marked with a flag and no
longer reachable via `fd_ofiles[]' or the global linked list.  This allows
us to simplifies a lot code grabbing new references to fds.

All of this is now possible because dup2(2) refuses to clone LARVAL fds.

Note that the `fdplock' could now be release in all open(2)-like syscalls,
just like it is done in accept(2).

With inputs from Mathieu Masson, visa@, guenther@ and art@

Previous version ok bluhm@, ok visa@, sthen@
</content>
</entry>
<entry>
<title>Revert introduction of fdinsert(), a sanitify check triggers when</title>
<updated>2018-06-05T09:29:05Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2018-06-05T09:29:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f695adb710e886406ee58a1fe647719c07d844d7'/>
<id>urn:sha1:f695adb710e886406ee58a1fe647719c07d844d7</id>
<content type='text'>
closing a LARVAL file.

Found the hardway by sthen@.
</content>
</entry>
<entry>
<title>Put file descriptors on shared data structures when they are completely</title>
<updated>2018-06-02T10:27:43Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2018-06-02T10:27:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e19d53e76a47615a43b7017fba112b33916857f5'/>
<id>urn:sha1:e19d53e76a47615a43b7017fba112b33916857f5</id>
<content type='text'>
setup.

LARVAL fd still exist, but they are no longer marked with a flag and no
longer reachable via `fd_ofiles[]'.  This allows us to simplifies a lot
code grabbing new references to fds.

All of this is now possible because dup2(2) refuses to clone LARVAL fds.

Note that the `fdplock' could now be release in all open(2)-like syscalls,
just like it is done in accept(2).

With inputs from Mathieu -, visa@, guenther@ and art@

ok visa@, bluhm@
</content>
</entry>
<entry>
<title>Remove proc from the parameters of vn_lock(). The parameter is</title>
<updated>2018-05-02T02:24:55Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2018-05-02T02:24:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6e880534696d274aaeeac6af7c28cedec17384cf'/>
<id>urn:sha1:6e880534696d274aaeeac6af7c28cedec17384cf</id>
<content type='text'>
unnecessary because curproc always does the locking.

OK mpi@
</content>
</entry>
<entry>
<title>Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is always</title>
<updated>2018-04-28T03:13:04Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2018-04-28T03:13:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=36bb23f12acb06197346657619c449dc8e0cae8e'/>
<id>urn:sha1:36bb23f12acb06197346657619c449dc8e0cae8e</id>
<content type='text'>
curproc that does the locking or unlocking, so the proc parameter
is pointless and can be dropped.

OK mpi@, deraadt@
</content>
</entry>
<entry>
<title>Stop assuming &lt;sys/file.h&gt; will pull in fcntl.h when _KERNEL is defined.</title>
<updated>2018-01-02T06:38:45Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2018-01-02T06:38:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4b1f64dcf5feb790aab4be62991acb194f54fcf2'/>
<id>urn:sha1:4b1f64dcf5feb790aab4be62991acb194f54fcf2</id>
<content type='text'>
ok millert@ sthen@
</content>
</entry>
<entry>
<title>We are either allocating 2 or three array members. Unroll while loop</title>
<updated>2018-01-01T08:55:43Z</updated>
<author>
<name>florian</name>
<email>florian@openbsd.org</email>
</author>
<published>2018-01-01T08:55:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ff71d78866fbff3eb37f13bc1a32d895c969809d'/>
<id>urn:sha1:ff71d78866fbff3eb37f13bc1a32d895c969809d</id>
<content type='text'>
to be able to call free(9) with sizes.

off-by-one pointed out by guenther
OK visa
</content>
</entry>
<entry>
<title>Add a flags argument to falloc() that lets it optionally set the</title>
<updated>2017-02-11T19:51:06Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-02-11T19:51:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=65014aebf91a57834a8398456ecc3535a02b36e8'/>
<id>urn:sha1:65014aebf91a57834a8398456ecc3535a02b36e8</id>
<content type='text'>
close-on-exec flag on the newly allocated fd.  Make falloc()'s
return arguments non-optional: assert that they're not NULL.

ok mpi@ millert@
</content>
</entry>
<entry>
<title>boom goes the dynamite</title>
<updated>2016-04-25T20:00:33Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2016-04-25T20:00:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2ed745d2020eea99731a11315583ba509744b868'/>
<id>urn:sha1:2ed745d2020eea99731a11315583ba509744b868</id>
<content type='text'>
</content>
</entry>
</feed>
