Re: [PATCH net-next v5 0/3] Add test_current_task_under_cgroup bpf helper and test

2016-08-12 Thread David Miller
From: Sargun Dhillon Date: Fri, 12 Aug 2016 08:54:35 -0700 > This patchset includes a helper and an example to determine whether the probe > is > currently executing in the context of a specific cgroup based on a cgroup bpf > map / array. The helper checks the cgroupsv2

[PATCH net-next v5 0/3] Add test_current_task_under_cgroup bpf helper and test

2016-08-12 Thread Sargun Dhillon
This patchset includes a helper and an example to determine whether the probe is currently executing in the context of a specific cgroup based on a cgroup bpf map / array. The helper checks the cgroupsv2 hierarchy based on the handle in the map and if the current cgroup is equal to it, or a