diff options
author | Yonghong Song <yhs@fb.com> | 2018-06-03 15:59:43 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-06-03 18:22:41 -0700 |
commit | f269099a7e7a0c6732c4a817d0e99e92216414d9 (patch) | |
tree | 74151563ca1a780f930b7537846123d165af5829 /ipc/mq_sysctl.c | |
parent | tools/bpf: sync uapi bpf.h for bpf_get_current_cgroup_id() helper (diff) | |
download | linux-dev-f269099a7e7a0c6732c4a817d0e99e92216414d9.tar.xz linux-dev-f269099a7e7a0c6732c4a817d0e99e92216414d9.zip |
tools/bpf: add a selftest for bpf_get_current_cgroup_id() helper
Syscall name_to_handle_at() can be used to get cgroup id
for a particular cgroup path in user space. The selftest
got cgroup id from both user and kernel, and compare to
ensure they are equal to each other.
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'ipc/mq_sysctl.c')
0 files changed, 0 insertions, 0 deletions