Skip to content

Commit 488ff63

Browse files
neildgopherbot
authored andcommitted
bpf: add security considerations to package docs
Change-Id: I9d9bd9b66f6b5290ecd356fcefb1659d6a6a6964 Reviewed-on: https://go-review.googlesource.com/c/net/+/795780 Reviewed-by: Nicholas Husin <husin@google.com> Reviewed-by: Nicholas Husin <nsh@golang.org> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Damien Neil <dneil@google.com>
1 parent 93d1f25 commit 488ff63

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

bpf/doc.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ to extensions, which are essentially calls to kernel utility
4949
functions. Currently, the only extensions supported by this package
5050
are the Linux packet filter extensions.
5151
52+
# Security Considerations
53+
54+
The implementation of the BPF VM in this package is suitable for
55+
testing BPF programs. It aims for consistency with other BPF VM
56+
implementations, but divergence in behavior is not considered a
57+
security issue.
58+
5259
# Examples
5360
5461
This packet filter selects all ARP packets.

0 commit comments

Comments
 (0)