NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/56316: vn_open doesn't follow symlinks



The following reply was made to PR kern/56316; it has been noted by GNATS.

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/56316: vn_open doesn't follow symlinks
Date: Sun, 18 Jul 2021 06:51:48 -0000 (UTC)

 kardel%netbsd.org@localhost (Frank Kardel) writes:
 
 > We should just disable the force setting of O_NOFOLLOW in vnopen and 
 
 It's not forced. Apparently just in the ZFS case the caller was changed
 to set O_NOFOLLOW and there is confusion on what FOLLOW and NOFOLLOW
 do. In fact, both are and were masked inside vn_open, so the O_NOFOLLOW
 flag is and has been the only relevant (despite what the comment said).
 
 


Home | Main Index | Thread Index | Old Index