mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
This is the first step to allow applications to open AF_XDP sockets. This change is limited to SecComp and is not enough to deliver the XDP functionality. Two more obstables remain: 1) AppArmor: profiles need to have the rule `network xdp,` 2) Capabilities: the net_raw capability is needed to use XDP This change basically just registers the XDP protocol as allowed in the BPF profile of a snap.