[linux] 07/12: tests: Enable testing CLONE_USERNS by unprivileged users
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Thu Aug 13 13:23:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch benh/autopkgtest
in repository linux.
commit d0943d8917bfbb083d40239d1a7057cd102f2597
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Thu Aug 13 14:15:27 2015 +0200
tests: Enable testing CLONE_USERNS by unprivileged users
---
debian/tests/selftests | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debian/tests/selftests b/debian/tests/selftests
index 7cd382a..30d77c0 100644
--- a/debian/tests/selftests
+++ b/debian/tests/selftests
@@ -26,6 +26,10 @@ if [ "$step" -ge 0 ]; then
cp -lR . $ADTTMP/build
cd $ADTTMP/build
make headers_install
+
+ # Enable testing CLONE_USERNS by unprivileged users
+ sysctl kernel.unprivileged_userns_clone=1
+
make -C tools/testing/selftests run_tests
fi
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git
More information about the Kernel-svn-changes
mailing list