aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorJoanne Koong <[email protected]>2021-10-29 15:49:09 -0700
committerAlexei Starovoitov <[email protected]>2021-11-01 14:16:03 -0700
commit7a67087250f0003acc1b9e20eda01635e1e51f9a (patch)
tree0aa974eb45a14bdf059b733702ac35caee42134d /scripts/gcc-plugins/randomize_layout_plugin.c
parent8845b4681bf44b9d2d2badf2c67cf476e42a86bd (diff)
selftests/bpf: Add bloom map success test for userspace calls
This patch has two changes: 1) Adds a new function "test_success_cases" to test successfully creating + adding + looking up a value in a bloom filter map from the userspace side. 2) Use bpf_create_map instead of bpf_create_map_xattr in the "test_fail_cases" and test_inner_map to make the code look cleaner. Signed-off-by: Joanne Koong <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions