tools/bpf: sync uapi bpf.h for bpf_get_current_cgroup_id() helper
authorYonghong Song <yhs@fb.com>
Sun, 3 Jun 2018 22:59:42 +0000 (15:59 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 4 Jun 2018 01:22:41 +0000 (18:22 -0700)
commitc7ddbbaf1e73e2f4e95cfda7b1da1be7fd199a4d
tree748ad0b4742b384d6ce5a2271608ae871382c431
parentbf6fa2c893c5237b48569a13fa3c673041430b6c
tools/bpf: sync uapi bpf.h for bpf_get_current_cgroup_id() helper

Sync kernel uapi/linux/bpf.h with tools uapi/linux/bpf.h.
Also add the necessary helper define in bpf_helpers.h.

Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/include/uapi/linux/bpf.h
tools/testing/selftests/bpf/bpf_helpers.h