+++ This bug was initially created as a clone of Bug #562072 +++ Description of problem: [RFC PATCH] vfs: add MNT_NOFOLLOW flag to umount(2) From: Miklos Szeredi <mszeredi> Add a new MNT_NOFOLLOW flag to umount(2). This is needed to prevent symlink attacks in unprivileged unmounts (fuse, samba, ncpfs). Additionally, return -EINVAL if an unknown flag is encountered. This makes it possible for the caller to determine if a flag is supported or not (at least on kernels with this patch). Discussion is at: http://patchwork.kernel.org/patch/77169/