CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2019/08/01 09:09:25

Modified files:
        sys/kern       : kern_unveil.c 

Log message:
In ufs_lookup() *vpp is always refcounted, also in the ISDOTDOT
case even if *vpp == vdp.  So in unveil_find_cover() it is wrong
to skip dereferencing if parent == vp.  This fixes an umount(8)
device busy error when unveil(2) and chroot(2) are used together
on a file system.
reported by Matthias Pitzl; OK deraadt@

Reply via email to