"mount -o remount" does not need to validate the target directory
for the same reasons that "umount" doesn't. It just needs to
find the mountpoint and verify it is a mountpount.
So change do_mount() to use user_path_mountpoint_at() in the
MS_REMOUNT case.
This means that mount(..,
"mount -o remount" does not need to validate the target directory
for the same reasons that "umount" doesn't. It just needs to
find the mountpoint and verify it is a mountpount.
So change do_mount() to use user_path_mountpoint_at() in the
MS_REMOUNT case.
This means that mount(..,
2 matches
Mail list logo