Skip to content
New issue

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

x/sys/unix: add Getsid for Linux #17872

Closed
amenzhinsky opened this issue Nov 10, 2016 · 1 comment
Closed

x/sys/unix: add Getsid for Linux #17872

amenzhinsky opened this issue Nov 10, 2016 · 1 comment

Comments

@amenzhinsky
Copy link
Contributor

amenzhinsky commented Nov 10, 2016

I think the function should be added to https://github.com/golang/go/blob/master/src/syscall/syscall_linux.go like it's done for the darwin platform https://github.com/golang/go/blob/master/src/syscall/syscall_darwin.go#L236

I'm not sure whether it can be done in the stdlib since the syscall package is frozen since go1.4.
If it's not I can submit a fix to the golang.org/x/sys/unix package.

What version of Go are you using (go version)?

go version go1.7.3 linux/amd64

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/amenzhinsky/Development/go"
GORACE=""
GOROOT="/usr/lib/go"
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build858666576=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
@minux
Copy link
Member

minux commented Nov 10, 2016 via email

@bradfitz bradfitz changed the title syscall: Getsid is missing on the linux OS x/sys/unix: add Getsid for Linux Nov 10, 2016
@bradfitz bradfitz added this to the Unreleased milestone Nov 10, 2016
@golang golang locked and limited conversation to collaborators Nov 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants