diff options
author | David Thompson <dthompson2@worcester.edu> | 2015-08-11 08:30:28 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2015-08-11 08:30:28 -0400 |
commit | bc459b617fbeb1b184bb8088334752284ecb8da6 (patch) | |
tree | b35161d55edcc430b60f7fe7b2046d135be172ec /tests/derivations.scm | |
parent | 7549f9841539efe2ef71d1e7a675a73ac6b19ace (diff) | |
download | patches-bc459b617fbeb1b184bb8088334752284ecb8da6.tar patches-bc459b617fbeb1b184bb8088334752284ecb8da6.tar.gz |
tests: containers: Skip if setgroups file does not exist.
Fixes bug #21226.
Linux 3.19 introduced a fix for a security vulnerability in user namespaces.
This fix introduced a new proc file called 'setgroups' and was backported to
many older kernels. However, some users run a kernel that is new enough to
support user namespaces yet old enough to not include the patch, so we must
skip the tests.
* tests/containers.scm: Skip all tests if /proc/self/setgroups does not exist.
Diffstat (limited to 'tests/derivations.scm')
0 files changed, 0 insertions, 0 deletions