-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
Milestone
Comments
seankhliao
changed the title
proposal: x/sys/unix add Getresuid and Getresgid
x/sys/unix add Getresuid and Getresgid
May 29, 2023
seankhliao
added
NeedsFix
The path to resolution is known, but the work has not been done.
and removed
Proposal
labels
May 29, 2023
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: |
seankhliao
changed the title
x/sys/unix add Getresuid and Getresgid
x/sys/unix: add Getresuid and Getresgid
May 29, 2023
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 <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Tobias Klauser <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
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: