summaryrefslogtreecommitdiffstats
path: root/usr.sbin/switchd
diff options
context:
space:
mode:
authoranton <anton@openbsd.org>2019-07-22 16:39:29 +0000
committeranton <anton@openbsd.org>2019-07-22 16:39:29 +0000
commitff0172c65375a1a3b57cc9c74cb40180daa56567 (patch)
treef22818f786074768d70a30d8692b19317e717321 /usr.sbin/switchd
parentEliminate pointless "... else {}" branch to improve readability. (diff)
downloadwireguard-openbsd-ff0172c65375a1a3b57cc9c74cb40180daa56567.tar.xz
wireguard-openbsd-ff0172c65375a1a3b57cc9c74cb40180daa56567.zip
Grab the vnode lock earlier in sys_getdents() since it could end up
sleeping, allowing the file offset to change. This is part of the ongoing effort to protect the file offset using the vnode lock. ok mpi@ visa@
Diffstat (limited to 'usr.sbin/switchd')
0 files changed, 0 insertions, 0 deletions