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 Getresuid and Getresgid #60483
Labels
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
Comments
Feel free to just file a CL, missing things for x/sys/unix can just be added without needing to go through proposal. |
Change https://go.dev/cl/499055 mentions this issue: |
oxzi
added a commit
to oxzi/golang-sys
that referenced
this issue
Jun 3, 2023
Addresses golang/go#60483. This change was successfully tested on amd64 and adjusted accordingly for the other architectures.
oxzi
added a commit
to oxzi/golang-sys
that referenced
this issue
Jun 3, 2023
Addresses golang/go#60483. This change was successfully tested on amd64 and adjusted accordingly for the other architectures.
Change https://go.dev/cl/500655 mentions this issue: |
oxzi
added a commit
to oxzi/golang-sys
that referenced
this issue
Jun 3, 2023
Addresses golang/go#60483. This change was successfully tested on amd64 and adjusted accordingly for the other architectures.
gopherbot
pushed a commit
to golang/sys
that referenced
this issue
Jun 5, 2023
Addresses golang/go#60483 for OpenBSD. This change was successfully tested on amd64 and adjusted accordingly for the other architectures. Change-Id: Id63cca342d81d2cc5854eb2923ca7e66bfaa91bf GitHub-Last-Rev: cff1170 GitHub-Pull-Request: #160 Reviewed-on: https://go-review.googlesource.com/c/sys/+/500655 Reviewed-by: David Chase <drchase@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
x/sys/unix
package can set the suid (saved UID) through setresuid, but there is no way to retrieve it (the getresuid(2) is missing).I propose adding Getresuid to the x/sys/unix package (also probably Getresgid) with following signature:
The text was updated successfully, but these errors were encountered: