We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go version go1.22.3 darwin/arm64
go env
GO111MODULE='' GOARCH='arm64' GOBIN='' GOCACHE='/Users/tenox/Library/Caches/go-build' GOENV='/Users/tenox/Library/Application Support/go/env' GOEXE='' GOEXPERIMENT='' GOFLAGS='' GOHOSTARCH='arm64' GOHOSTOS='darwin' GOINSECURE='' GOMODCACHE='/Users/tenox/go/pkg/mod' GONOPROXY='' GONOSUMDB='' GOOS='darwin' GOPATH='/Users/tenox/go' GOPRIVATE='' GOPROXY='https://proxy.golang.org,direct' GOROOT='/usr/local/go' GOSUMDB='sum.golang.org' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/usr/local/go/pkg/tool/darwin_arm64' GOVCS='' GOVERSION='go1.22.3' GCCGO='gccgo' AR='ar' CC='clang' CXX='clang++' CGO_ENABLED='1' GOMOD='/Users/tenox/Code/aixsuid/go.mod' GOWORK='' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_FFLAGS='-O2 -g' CGO_LDFLAGS='-O2 -g' PKG_CONFIG='pkg-config' GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/mm/vms_5fl93xsdj9038v77jfx80000gn/T/go-build1570473514=/tmp/go-build -gno-record-gcc-switches -fno-common'
package main import "syscall" func main() { syscall.Setgid(1) syscall.Setuid(1) }
$ GOOS=aix GOARCH=ppc64 go build . # suid ./suid.go:7:10: undefined: syscall.Setuid
build ok
note this problem is only for Setuid, Setgid seems fine
Setuid
Setgid
The text was updated successfully, but these errors were encountered:
Change https://go.dev/cl/588119 mentions this issue: syscall: add Setuid for aix
syscall: add Setuid for aix
Sorry, something went wrong.
3dcb962
mauri870
Successfully merging a pull request may close this issue.
Go version
go version go1.22.3 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
What did you see happen?
What did you expect to see?
note this problem is only for
Setuid
,Setgid
seems fineThe text was updated successfully, but these errors were encountered: