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>
8 months ago
..
authenticode util/winutil/authenticode: add missing docs for CertSubjectError 11 months ago
policy winutil: refactor methods to get values from registry to also return (#9536) 9 months ago
mksyscall.go util/winutil: add RegisterForRestart, allowing programs to indicate their preferences to the Windows restart manager 10 months ago
svcdiag_windows.go all: use set.Set consistently instead of map[T]struct{} 10 months ago
winutil.go winutil: refactor methods to get values from registry to also return (#9536) 9 months ago
winutil_notwindows.go winutil: refactor methods to get values from registry to also return (#9536) 9 months ago
winutil_windows.go util/winutil: simplify dropping privileges after use (#10099) 8 months ago
winutil_windows_test.go go.mod, cmd/tailscaled, ipn/localapi, util/osdiag, util/winutil, util/winutil/authenticode: add Windows module list to OS-specific logs that are written upon bugreport 11 months ago
zsyscall_windows.go util/winutil: add RegisterForRestart, allowing programs to indicate their preferences to the Windows restart manager 10 months ago