OSDN Git Service

Merge branch 'samples-bpf-automated-cgroup-tests'
authorDavid S. Miller <davem@davemloft.net>
Sat, 3 Dec 2016 21:08:01 +0000 (16:08 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Dec 2016 21:08:01 +0000 (16:08 -0500)
Sargun Dhillon says:

====================
samples, bpf: Refactor; Add automated tests for cgroups

These two patches are around refactoring out some old, reusable code from the
existing test_current_task_under_cgroup_user test, and adding a new, automated
test.

There is some generic cgroupsv2 setup & cleanup code, given that most
environment still don't have it setup by default. With this code, we're able
to pretty easily add an automated test for future cgroupsv2 functionality.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge