Fix panic when we attempt to mess with "." but have a flags mismatch
authorbeck <beck@openbsd.org>
Thu, 2 Aug 2018 04:41:47 +0000 (04:41 +0000)
committerbeck <beck@openbsd.org>
Thu, 2 Aug 2018 04:41:47 +0000 (04:41 +0000)
commitf993c6f7844b25fe298d121c5af2d511a74112bf
tree4715c8b99187a87dc52d3f6ea87d2ec10904af8a
parentbd7bdf350b2c368e5f6b0c828651e45fa0ee7292
Fix panic when we attempt to mess with "." but have a flags mismatch
so unveil_check_final returns an error - in this case we can't
just VOP_UNLOCK the parent we have to know we are dealing with "."
found by anton@ - thanks
sys/kern/vfs_lookup.c