Re: [PATCH net-next 1/2] samples, bpf: Refactor test_current_task_under_cgroup - separate out helpers

2016-12-02 Thread Alexei Starovoitov
On Fri, Dec 02, 2016 at 02:42:18AM -0800, Sargun Dhillon wrote: > 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

[PATCH net-next 1/2] samples, bpf: Refactor test_current_task_under_cgroup - separate out helpers

2016-12-02 Thread Sargun Dhillon
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 --- samples/bpf/Makefil