diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2016-06-06 15:48:04 -0500 |
---|---|---|
committer | Bruno Martins <bgcngm@gmail.com> | 2022-10-28 15:39:29 +0100 |
commit | 3a9ace71925126946fa8e7c439269311a8b635d8 (patch) | |
tree | f341887936cd715fd351074668a0e71a980d7b52 /kernel/trace/trace.c | |
parent | af53549b43c53bdad679704df2e99a8eeb0ca05a (diff) |
mnt: Move the FS_USERNS_MOUNT check into sget_userns
Allowing a filesystem to be mounted by other than root in the initial
user namespace is a filesystem property not a mount namespace property
and as such should be checked in filesystem specific code. Move the
FS_USERNS_MOUNT test into super.c:sget_userns().
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Change-Id: I5da9f5ce3e7b85379a771617e3238817b777eab4
Diffstat (limited to 'kernel/trace/trace.c')
0 files changed, 0 insertions, 0 deletions