aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/bpf.txt
diff options
context:
space:
mode:
authorPaul Chaignon <paul@cilium.io>2020-10-26 18:46:03 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-10-26 19:17:24 +0100
commitfde88e12eb25ce1ff9b3bb7501d36c408e914f1e (patch)
treebbd08457d630912a4825c78137a45977634a0f1a /sys/linux/bpf.txt
parent8062b02d8f2d7cfd74ee564821cb0932eab87762 (diff)
sys/linux: add BPF_LINK_DETACH bpf(2) command
This new command was introduced in commit 73b11c2 ("bpf: Add support for forced LINK_DETACH command") upstream. Signed-off-by: Paul Chaignon <paul@cilium.io>
Diffstat (limited to 'sys/linux/bpf.txt')
-rw-r--r--sys/linux/bpf.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/linux/bpf.txt b/sys/linux/bpf.txt
index 03181531e..67a70000f 100644
--- a/sys/linux/bpf.txt
+++ b/sys/linux/bpf.txt
@@ -63,6 +63,7 @@ bpf$ENABLE_STATS(cmd const[BPF_ENABLE_STATS], arg ptr[in, bpf_enable_stats_arg],
bpf$ITER_CREATE(cmd const[BPF_ITER_CREATE], arg ptr[in, bpf_iter_create_arg], size len[arg]) fd
bpf$LINK_GET_FD_BY_ID(cmd const[BPF_LINK_GET_FD_BY_ID], arg ptr[in, bpf_link_id], size len[arg]) fd_bpf_link
bpf$LINK_GET_NEXT_ID(cmd const[BPF_LINK_GET_NEXT_ID], arg ptr[inout, bpf_link_get_next_id_arg], size len[arg])
+bpf$LINK_DETACH(cmd const[BPF_LINK_DETACH], arg ptr[in, fd_bpf_link], size len[arg])
bpf_map_create_arg {
type flags[bpf_map_type, int32]