New BPF program types supported:
- lsm;
- fmod_ret.
New APIs:
- bpf_link pinning;
- bpf_link-based cgroup attachments;
- bpf_program__set_attach_target() to customize freplace BPF programs;
- EXPECTED_FD field support in bpf_set_link_xdp_fd_opts()
- bpf_map__set_initial_value() to specify intial value of read-only maps.
New BPF helpers:
- bpf_read_branch_records();
- bpf_get_ns_current_pid_tgid();
- get_netns_cookie();
- bpf_xdp_output();
- bpf_sk_assign();
- PT_REGS macro fixes;
- CO-RE variants of PT_REGS macros.
Bug fixes:
- CO-RE relocation edge cases;
- expected_attach_type handling fixes at load time;
- fixes in hanling kernels without BTF support;
- internal map sanitization improvements.