mirror of
https://github.com/tailscale/tailscale.git
synced 2024-12-01 14:05:39 +00:00
aba4bd0c62
To safely request and drop privileges, runtime.Lock/UnlockOSThread and windows.Impersonate/RevertToSelf should be called. Add these calls to winutil.EnableCurrentThreadPrivilege so that callers don't need to worry about it. Updates https://github.com/tailscale/corp/issues/15488 Signed-off-by: Andrew Lytvynov <awly@tailscale.com> |
||
---|---|---|
.. | ||
authenticode | ||
policy | ||
mksyscall.go | ||
svcdiag_windows.go | ||
winutil_notwindows.go | ||
winutil_windows_test.go | ||
winutil_windows.go | ||
winutil.go | ||
zsyscall_windows.go |