summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndrey Ignatov <rdna@fb.com>2019-03-09 02:08:21 +0300
committerAlexei Starovoitov <ast@kernel.org>2019-04-12 23:54:58 +0300
commit1f5fa9ab6e2eb16ba81284280a498fe9c543a2d8 (patch)
tree8fa0d65f9dfe080a7324c2255b0ec4c384c668a6 /tools/perf/scripts/python/export-to-postgresql.py
parent7007af63da3bf6764c9208029a3585756260b55f (diff)
downloadlinux-1f5fa9ab6e2eb16ba81284280a498fe9c543a2d8.tar.xz
selftests/bpf: Test BPF_CGROUP_SYSCTL
Add unit test for BPF_PROG_TYPE_CGROUP_SYSCTL program type. Test that program can allow/deny access. Test both valid and invalid accesses to ctx->write. Example of output: # ./test_sysctl Test case: sysctl wrong attach_type .. [PASS] Test case: sysctl:read allow all .. [PASS] Test case: sysctl:read deny all .. [PASS] Test case: ctx:write sysctl:read read ok .. [PASS] Test case: ctx:write sysctl:write read ok .. [PASS] Test case: ctx:write sysctl:read write reject .. [PASS] Summary: 6 PASSED, 0 FAILED Signed-off-by: Andrey Ignatov <rdna@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions