Re: [PATCH v2 bpf-next 0/5] BPF link force-detach support

2020-08-01 Thread Alexei Starovoitov
On Fri, Jul 31, 2020 at 11:29 AM Andrii Nakryiko wrote: > > This patch set adds new BPF link operation, LINK_DETACH, allowing processes > with BPF link FD to force-detach it from respective BPF hook, similarly how > BPF link is auto-detached when such BPF hook (e.g., cgroup, net_device, netns, > e

[PATCH v2 bpf-next 0/5] BPF link force-detach support

2020-07-31 Thread Andrii Nakryiko
This patch set adds new BPF link operation, LINK_DETACH, allowing processes with BPF link FD to force-detach it from respective BPF hook, similarly how BPF link is auto-detached when such BPF hook (e.g., cgroup, net_device, netns, etc) is removed. This facility allows admin to forcefully undo BPF l