]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerJiri Slaby <jslaby@suse.cz>
Wed, 7 Jan 2015 16:55:15 +0000 (17:55 +0100)
commitdc7a80cc0095cd6d8a69d79eace72b2c6ed48364
treee20007782e4f2eff3d9a04a105d6e9d6e2bca189
parent90aca415b2917dbb16512b5299f0d5118cf0748c
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: Jiri Slaby <jslaby@suse.cz>
tools/testing/selftests/mount/unprivileged-remount-test.c