diff options
author | Andrey Ignatov <rdna@fb.com> | 2019-03-09 02:22:03 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-04-12 23:54:59 +0300 |
commit | 786047dd08de3334722af036e2827ce3b34205cc (patch) | |
tree | 1278e008d968e38c7539f0c0ad76a28bc2450271 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 11ff34f74e32f5a4ec1f71621508789cd60775b3 (diff) | |
download | linux-786047dd08de3334722af036e2827ce3b34205cc.tar.xz |
selftests/bpf: Test bpf_sysctl_{get,set}_new_value helpers
Test that new value provided by user space on sysctl write can be read
by bpf_sysctl_get_new_value and overridden by bpf_sysctl_set_new_value.
# ./test_sysctl
...
Test case: sysctl_get_new_value sysctl:read EINVAL .. [PASS]
Test case: sysctl_get_new_value sysctl:write ok .. [PASS]
Test case: sysctl_get_new_value sysctl:write ok long .. [PASS]
Test case: sysctl_get_new_value sysctl:write E2BIG .. [PASS]
Test case: sysctl_set_new_value sysctl:read EINVAL .. [PASS]
Test case: sysctl_set_new_value sysctl:write ok .. [PASS]
Summary: 22 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