Skip to content
Discussion options

You must be logged in to vote

I think I’ve answered myself to one of the questions. There is no naming association between the program type and hook context by looking at jbpf_tests/verifier/jbpf_verifier_extension_test.cpp. When extending the verifier for the program type jbpf_my_prog_type, the name of the context is my_new_jbpf_ctx, which doesn't have anything in common in terms of naming with jbpf_my_prog_type. Although, I found it convenient to use this naming convention: <context_name> = <program_type_name>_ctx

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by amurgZainar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant