Syscall Entrance
BPF_PROG_LOAD
Processed by bpf_prog_load, which:
- Checks the permission, the flags, license compatibility;
- Initializes a
struct bpf_prog; - Runs the verifier with
bpf_check; - Tries to JIT the program with
bpf_prog_select_runtime; - Allocates an ID to the program, and maybe calls
bpf_prog_kallsyms_add(no idea what it does).