mirror of
https://github.com/golang/sys.git
synced 2026-02-08 03:36:03 +03:00
The security API is already quite extensive, but for some strange reason, this essential and useful function was left out of the initial port. So, we add it here, along with the relevant constants and a test case. Change-Id: I99568703565addf15603480f11b0edafdfc1718f Reviewed-on: https://go-review.googlesource.com/c/sys/+/167378 Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Run-TryBot: Alex Brainman <alex.brainman@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>