[PATCH RFC 0/1] mount: universally disallow mounting over symlinks

Al Viro viro at zeniv.linux.org.uk
Wed Jan 1 23:40:09 UTC 2020


On Thu, Jan 02, 2020 at 01:44:07AM +1100, Aleksa Sarai wrote:

> Thanks, this fixes the issue for me (and also fixes another reproducer I
> found -- mounting a symlink on top of itself then trying to umount it).
> 
> Reported-by: Aleksa Sarai <cyphar at cyphar.com>
> Tested-by: Aleksa Sarai <cyphar at cyphar.com>

Pushed into #fixes.

> As for the original topic of bind-mounting symlinks -- given this is a
> supported feature, would you be okay with me sending an updated
> O_EMPTYPATH series?

Post it on fsdevel; I'll need to reread it anyway to say anything useful...


More information about the Containers mailing list