mirror of
https://github.com/golang/sys.git
synced 2026-02-09 12:16:04 +03:00
Added SetfsgidRetGid and SetfsuidRetUid wrappers for corresponding syscalls, both returning previous gid or uid set. Fixes golang/go#36649 Change-Id: I95176f4442258ca68db79cf967fbf0bbf0a57acf Reviewed-on: https://go-review.googlesource.com/c/sys/+/215579 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
6.4 KiB
6.4 KiB