diff options
| author | 2019-03-08 15:25:02 -0800 | |
|---|---|---|
| committer | 2019-04-12 13:54:59 -0700 | |
| commit | 9a1027e52535db1a0adf7831afdfce745dc0a061 (patch) | |
| tree | c24f33cb3d04508d0899782e9abbaf142725065d /include/linux | |
| parent | selftests/bpf: Test bpf_sysctl_{get,set}_new_value helpers (diff) | |
| download | linux-dev-9a1027e52535db1a0adf7831afdfce745dc0a061.tar.xz linux-dev-9a1027e52535db1a0adf7831afdfce745dc0a061.zip | |
selftests/bpf: Test file_pos field in bpf_sysctl ctx
Test access to file_pos field of bpf_sysctl context, both read (incl.
narrow read) and write.
# ./test_sysctl
...
Test case: ctx:file_pos sysctl:read read ok .. [PASS]
Test case: ctx:file_pos sysctl:read read ok narrow .. [PASS]
Test case: ctx:file_pos sysctl:read write ok .. [PASS]
...
Signed-off-by: Andrey Ignatov <rdna@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
