pub fn seabee_init(
config: Config,
open_obj: &mut MaybeUninit<OpenObject>,
) -> Result<SeaBee<'_>>Expand description
Load all of the eBPF programs in the desired configuration.
- The eBPF code was converted to multiple [libbpf_rs::skel] during compilation.
- First the ‘enforce skeleton’ containing eBPF LSM programs is loaded.
- Next, ‘policy skeleton’ is loaded containing programs for updating policy.
- Each program is attached to its hook point and pinned to the eBPF filesystem.