mirror of
https://github.com/golang/sys.git
synced 2026-02-08 03:36:03 +03:00
This adds an additional helper method to Token to determine whether or not it's a restricted one, by using: https://docs.microsoft.com/en-us/windows/win32/api/securitybaseapi/nf-securitybaseapi-istokenrestricted Change-Id: I1f2d051450524c22665c4bb99f5948b375b5e199 Reviewed-on: https://go-review.googlesource.com/c/sys/+/272107 Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Trust: Alex Brainman <alex.brainman@gmail.com> Trust: Jason A. Donenfeld <Jason@zx2c4.com>