]> git.ipfire.org Git - thirdparty/man-pages.git/commit
mount.2: ERRORS: add EINVAL for bind mount of mount namespace inode
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 3 Jul 2020 10:38:18 +0000 (12:38 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 3 Jul 2020 10:38:18 +0000 (12:38 +0200)
commit16170fbc5c798071d5af9cfb1719d13e1d8f1cc7
tree6a79e9a59cfe27c64637aa74109f3df0058f7144
parentb3bb3f58beee12a158d922063208c93d74819f5c
mount.2: ERRORS: add EINVAL for bind mount of mount namespace inode

See kernel commit 8823c079ba7136dc1948d6f6dcb5f8022bde438e
and the in fs/namespace.c::do_loopback():

        err = -EINVAL;
        if (mnt_ns_loop(old_path.dentry))
                goto out;

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/mount.2