Comment 13 for bug 1476662

Serge Hallyn (serge-hallyn) wrote :

Ah, right, the mount(".") doesn't work in the (very common) case of file mounts. We could special-case the file mount case to there chdir to the parent and then mount onto the filename, but that still allows for a TOCTTOU.