Skip to main content

bpf_link_create

Function bpf_link_create 

Source
pub fn bpf_link_create(
    request: &BpfLinkCreateRequest<'_>,
) -> Result<BpfLink, Errno>
Expand description

BPF_LINK_CREATE — crée un lien moderne (FD RAII, détache au Drop).

§Effets

Voir bpf_program_attach.

§Errors

  • [Errno::EPERM] : privilège manquant.
  • [Errno::EINVAL] : attache incohérente.