selftests/bpf: Fix const'ness in cgroup_helpers
authorAndrey Ignatov <rdna@fb.com>
Thu, 12 Jul 2018 00:33:34 +0000 (17:33 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Sat, 14 Jul 2018 22:08:41 +0000 (00:08 +0200)
commit04c13411151c220b41998020c32ac97f33b58683
treeb50984df1762b9525021d876880a3971c93aa2e8
parent060a7fccd394f1600be86536b1d3e8cdd66637c2
selftests/bpf: Fix const'ness in cgroup_helpers

Lack of const in cgroup helpers signatures forces to write ugly client
code. Fix it.

Signed-off-by: Andrey Ignatov <rdna@fb.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/cgroup_helpers.c
tools/testing/selftests/bpf/cgroup_helpers.h