diff options
Diffstat (limited to 'go/cgo-required.sh')
-rwxr-xr-x | go/cgo-required.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/go/cgo-required.sh b/go/cgo-required.sh index 8f22d43..5e7e98f 100755 --- a/go/cgo-required.sh +++ b/go/cgo-required.sh @@ -1,11 +1,11 @@ #!/bin/bash # -# Runtime check for whether or not syscall.PosixSyscall is available to -# the working go runtime or not. If it isn't we always have to use -# libcap/psx to get POSIX semantics for syscalls that change security -# state. +# Runtime check for whether or not syscall.PerOSThreadSyscall is +# available to the working go runtime or not. If it isn't we always +# have to use libcap/psx to get POSIX semantics for syscalls that +# change security state. -if [ -z "$(go doc syscall 2>/dev/null|grep PosixSyscall)" ]; then +if [ -z "$(go doc syscall 2>/dev/null|grep PerOSThreadSyscall)" ]; then echo "1" else echo "0" |