Searched hist:75841 (Results 1 - 1 of 1) sorted by relevance
/freebsd-11-stable/usr.sbin/mountd/ | ||
H A D | mountd.c | diff 75841 Sun Apr 22 19:50:30 MDT 2001 iedowse When exporting a directory that is not a mountpoint, mountd repeatedly removes the last path component until the mount() succeeds. However, the code never checks if it has passed the mountpoint, so in some cases where the mount() never succeeds, it can end up applying the flags from a mounted filesystem to the underlying one. Add a sanity check to the code which removes the last path component: test that the fsid associated with the new path is the same as that of the old one. PR: bin/7872 |
Completed in 118 milliseconds