From 0323103e57018abbb31b128ff3202fec73ee0331 Mon Sep 17 00:00:00 2001 From: Yonatan Goldschmidt Date: Sun, 12 Jan 2025 01:33:28 +0200 Subject: [PATCH] Fix typo in BPF_LINK_CREATE.md --- docs/linux/syscall/BPF_LINK_CREATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/linux/syscall/BPF_LINK_CREATE.md b/docs/linux/syscall/BPF_LINK_CREATE.md index ceeae44e..ccd193d7 100644 --- a/docs/linux/syscall/BPF_LINK_CREATE.md +++ b/docs/linux/syscall/BPF_LINK_CREATE.md @@ -12,7 +12,7 @@ This syscall command create a new BPF link. BPF links are the newest and thus pr ## Return type -If successful, this syscall command will return a file descriptor to the newly created link. The link is a reference counted object just like other BPF objects. The link is destroyed once no more references to it exist, which might happen if the loader exists without pinning the link or if the pin gets deleted. A loader might also chose to forcefully cause the link to detach from the hook point with the [`BPF_LINK_DETACH`](BPF_LINK_DETACH.md) command. +If successful, this syscall command will return a file descriptor to the newly created link. The link is a reference counted object just like other BPF objects. The link is destroyed once no more references to it exist, which might happen if the loader exits without pinning the link or if the pin gets deleted. A loader might also chose to forcefully cause the link to detach from the hook point with the [`BPF_LINK_DETACH`](BPF_LINK_DETACH.md) command. The returned file descriptor can be used with the [`BPF_LINK_UPDATE`](BPF_LINK_UPDATE.md) and [`BPF_LINK_DETACH`](BPF_LINK_DETACH.md) commands.