aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2021-02-02 19:09:08 -0800
committerAndrew G. Morgan <morgan@kernel.org>2021-02-02 19:09:08 -0800
commita8392c96e5573251407c16006a437cc3ab705164 (patch)
tree490e3a7b32c3cf460e2960de826b8c5ced1b917c
parent9c740a5e26a5faf4440ef19e659b2c8ffe9330d2 (diff)
downloadlibcap-a8392c96e5573251407c16006a437cc3ab705164.tar.gz
Add some CGO_ENABLED=0 documentation for the Syscall functions.
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
-rw-r--r--psx/psx.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/psx/psx.go b/psx/psx.go
index b1b530a..529f19d 100644
--- a/psx/psx.go
+++ b/psx/psx.go
@@ -7,6 +7,8 @@ import (
"syscall"
)
+// Syscall3 and Syscall6 are aliases for syscall.AllThreadsSyscall*
+// when compiled CGO_ENABLED=0.
var (
Syscall3 = syscall.AllThreadsSyscall
Syscall6 = syscall.AllThreadsSyscall6