]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.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 17:58:17 +0000 (09:58 -0800)
commit3150a5ae1c08aac6aba8454cb536316a48eecc52
treee50e3cdaea952e951dde2005b1a2d3e7e98a0b0c
parentafb5285388ce7e7623ab9ddb08f287551e70426f
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