Skip to content
Snippets Groups Projects
Commit 1d9040bf authored by Joel Sing's avatar Joel Sing
Browse files

syscall: provide and use ioctlPtr for all BSD platforms

Provide ioctlPtr for all BSD platforms, then use this for BPF.
This reduces darwin specific code, as well as avoiding the use of
an indirect system call on OpenBSD.

Updates #63900

Change-Id: I81f3e74a3149150abe972f106903310e3cf26929
Reviewed-on: https://go-review.googlesource.com/c/go/+/540019


Reviewed-by: default avatarBryan Mills <bcmills@google.com>
Reviewed-by: default avatarHeschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Joel Sing <joel@sing.id.au>
Reviewed-by: default avatarJosh Rickmar <jrick@zettaport.com>
parent fd59c87e
No related branches found
No related tags found
No related merge requests found
Showing
with 328 additions and 304 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment