commit | 1a922fee66c8a691bfec738b6a5694b2dbb2177d | [log] [tgz] |
---|---|---|
author | Sargun Dhillon <sargun@sargun.me> | Fri Dec 02 02:42:18 2016 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Dec 03 16:07:11 2016 -0500 |
tree | a2196acc64ef60499075d0711c4a0eecb0abef09 | |
parent | 69a9d09b2251aeb968e76f39f2b89774312daa3d [diff] |
samples, bpf: Refactor test_current_task_under_cgroup - separate out helpers This patch modifies test_current_task_under_cgroup_user. The test has several helpers around creating a temporary environment for cgroup testing, and moving the current task around cgroups. This set of helpers can then be used in other tests. Signed-off-by: Sargun Dhillon <sargun@sargun.me> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>