]> git.ipfire.org Git - people/ms/linux.git/commit
userns: Unbreak the unprivileged remount tests
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 2 Dec 2014 19:56:30 +0000 (13:56 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2015 18:30:27 +0000 (10:30 -0800)
commitb95660c47abb96fa1f5d51c5c4e331195ec161b8
tree87473b1566980e6d61ae727121ff02b49942565d
parent57f855235800de777677c73378dee1342b7f2b46
userns: Unbreak the unprivileged remount tests

commit db86da7cb76f797a1a8b445166a15cb922c6ff85 upstream.

A security fix in caused the way the unprivileged remount tests were
using user namespaces to break.  Tweak the way user namespaces are
being used so the test works again.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/mount/unprivileged-remount-test.c