<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/kern/vfs_syscalls.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/kern/vfs_syscalls.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/kern/vfs_syscalls.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-03-19T13:55:20Z</updated>
<entry>
<title>Move unveil data structures away from the proc.h header into the</title>
<updated>2020-03-19T13:55:20Z</updated>
<author>
<name>anton</name>
<email>anton@openbsd.org</email>
</author>
<published>2020-03-19T13:55:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=dd1a4184c8419add5e24b5c6044ac897f545591e'/>
<id>urn:sha1:dd1a4184c8419add5e24b5c6044ac897f545591e</id>
<content type='text'>
implementation file. Pushing the assignment of ps_uvpcwd down to
unveil_add() is required but it doesn't introduce any functional change.

ok mpi@ semarie@
</content>
</entry>
<entry>
<title>In order to unlock flock(2), make writes to the f_iflags field of struct</title>
<updated>2020-03-13T10:07:01Z</updated>
<author>
<name>anton</name>
<email>anton@openbsd.org</email>
</author>
<published>2020-03-13T10:07:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9af56a697ae2af4a65b068bf9b7fc1685644e504'/>
<id>urn:sha1:9af56a697ae2af4a65b068bf9b7fc1685644e504</id>
<content type='text'>
file atomic. This also gets rid of the last kernel lock protected field
in the scope of struct file.

ok mpi@ visa@
</content>
</entry>
<entry>
<title>Acquire fdplock when updating fd_cmask. This moves the code</title>
<updated>2020-01-30T15:36:11Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2020-01-30T15:36:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0f281617bebb705354f7ebd1556d4b11b84e2045'/>
<id>urn:sha1:0f281617bebb705354f7ebd1556d4b11b84e2045</id>
<content type='text'>
toward MP-safety.

OK mpi@, anton@
</content>
</entry>
<entry>
<title>add a new __tmpfd system call that creates a new unnamed file in /tmp.</title>
<updated>2020-01-26T04:28:18Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2020-01-26T04:28:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e1764fa663c6cc4e53b337926f7b315843c43dad'/>
<id>urn:sha1:e1764fa663c6cc4e53b337926f7b315843c43dad</id>
<content type='text'>
intended for shm/fd passing, but for programs that may otherwise like
filesystem access.
ok beck deraadt kettenis
</content>
</entry>
<entry>
<title>Clear mount operation argument flags from mnt_flag after mount.</title>
<updated>2020-01-18T08:40:19Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2020-01-18T08:40:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f0801dd35b987df069e806e4afc6f87aa5da4038'/>
<id>urn:sha1:f0801dd35b987df069e806e4afc6f87aa5da4038</id>
<content type='text'>
OK bluhm@
</content>
</entry>
<entry>
<title>Convert the vnode list at the mount point into a tailq.  During</title>
<updated>2020-01-10T10:33:34Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2020-01-10T10:33:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a2b5c9223fbb51c0665feb9eb51bd2ebf1a05e29'/>
<id>urn:sha1:a2b5c9223fbb51c0665feb9eb51bd2ebf1a05e29</id>
<content type='text'>
unmount this list is traversed and the dirty vnodes are flushed to
disk.  Forced unmount expects that the list is empty after flushing,
otherwise the kernel panics with "dangling vnode".  As the write
to disk can sleep, new vnodes may be inserted.  If softdep is
enabled, resolving the dependencies creates new dirty vnodes and
inserts them to the list.  To fix the panic, let insmntque() insert
new vnodes at the tail of the list.  Then vflush() will still catch
them while traversing the list in forward direction.
OK tedu@ millert@ visa@
</content>
</entry>
<entry>
<title>Eliminate the sketchy use of ps_mainproc here by making unveil_add_vnode()</title>
<updated>2019-11-29T20:58:17Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2019-11-29T20:58:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7ac2b76bf088a42c425b34c14a864ab574e43488'/>
<id>urn:sha1:7ac2b76bf088a42c425b34c14a864ab574e43488</id>
<content type='text'>
take a struct proc* instead of a struct process*, and vice versa making
unveil_lookup() take a process* instead of a proc*.

ok beck@
</content>
</entry>
<entry>
<title>Don't use LOCKPARENT on namei calls for realpath(). We don't</title>
<updated>2019-11-26T00:26:36Z</updated>
<author>
<name>beck</name>
<email>beck@openbsd.org</email>
</author>
<published>2019-11-26T00:26:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0eff3f09cea339207a839f716e75649e24b667b9'/>
<id>urn:sha1:0eff3f09cea339207a839f716e75649e24b667b9</id>
<content type='text'>
require this anymore since we now behave like posix.

Fixes a problem where a symlink to / would return ENOTDIR because
the parent could not be locked - noticed by Raimo Niskanen &lt;raimo@erlang.org&gt;

ok guenther@ deraadt@
</content>
</entry>
<entry>
<title>Fix vn_open to require an op of 0, and 0 or KERNELPATH only as flags.</title>
<updated>2019-10-06T16:24:14Z</updated>
<author>
<name>beck</name>
<email>beck@openbsd.org</email>
</author>
<published>2019-10-06T16:24:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c062619918232778445db758dcef4896fb2074f1'/>
<id>urn:sha1:c062619918232778445db758dcef4896fb2074f1</id>
<content type='text'>
sweep tree to correct NDIINT op and flags ahead of time. document
the requirement. This allows KERNELPATH to be used to bypass
unveil for crash dumps with nosuidcoredump=2 or 3

ok visa@ deraadt@ florian@
</content>
</entry>
<entry>
<title>Make readlink require UNVEIL_READ instead of UNVEIL_INSPECT only</title>
<updated>2019-08-31T17:59:33Z</updated>
<author>
<name>beck</name>
<email>beck@openbsd.org</email>
</author>
<published>2019-08-31T17:59:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8ad22334813189007adaa99c708a378418df665c'/>
<id>urn:sha1:8ad22334813189007adaa99c708a378418df665c</id>
<content type='text'>
since realpath() is now a system call
ok deraadt@
</content>
</entry>
</feed>
