You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/util/winutil
Andrew Lytvynov aba4bd0c62
util/winutil: simplify dropping privileges after use (#10099)
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>
1 year ago
..
authenticode
policy winutil: refactor methods to get values from registry to also return (#9536) 1 year ago
mksyscall.go
svcdiag_windows.go
winutil.go winutil: refactor methods to get values from registry to also return (#9536) 1 year ago
winutil_notwindows.go winutil: refactor methods to get values from registry to also return (#9536) 1 year ago
winutil_windows.go util/winutil: simplify dropping privileges after use (#10099) 1 year ago
winutil_windows_test.go
zsyscall_windows.go