]> git.baikalelectronics.ru Git - kernel.git/commit
locks: Don't allow mounts in user namespaces to enable mandatory locking
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 11 Nov 2015 23:22:33 +0000 (17:22 -0600)
committerJeff Layton <jeff.layton@primarydata.com>
Mon, 16 Nov 2015 15:01:34 +0000 (10:01 -0500)
commit95b28f98bf1b71821e82276679ebe001bbec4a97
tree90ed4c98c2ac53a928050ec322e7e644401c2fc5
parentd4d5c20e3aee027fd2c2266b682935129d218a96
locks: Don't allow mounts in user namespaces to enable mandatory locking

Since no one uses mandatory locking and files with mandatory locks can
cause problems don't allow them in user namespaces.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
fs/namespace.c