Files
Alberto Mardegan ecb4ba8247 seccomp: allow opening XDP sockets
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.
2022-10-05 09:12:14 +03:00
..
2022-10-05 09:12:14 +03:00