-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.
Milestone
Description
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:
func Getresuid(ruid *int, euid *int, suid *int) (err error)
func Getresgid(rgid *int, egid *int, sgid *int) (err error)
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.