Home
last modified time | relevance | path

Searched refs:fallback_id (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcustom_sec_handlers.c56 static int fallback_id; variable
118 fallback_id = libbpf_register_prog_handler(NULL, BPF_PROG_TYPE_SYSCALL, 0, &opts); in test_custom_sec_handlers()
120 if (!ASSERT_GT(fallback_id, 0, "fallback_id") /* || !ASSERT_GT(kprobe_id, 0, "kprobe_id")*/) { in test_custom_sec_handlers()
121 if (fallback_id > 0) in test_custom_sec_handlers()
122 libbpf_unregister_prog_handler(fallback_id); in test_custom_sec_handlers()
174 ASSERT_OK(libbpf_unregister_prog_handler(fallback_id), "unregister_fallback"); in test_custom_sec_handlers()