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 util/winutil/authenticode: add missing docs for CertSubjectError 1 year ago
policy winutil: refactor methods to get values from registry to also return (#9536) 1 year ago
mksyscall.go util/winutil: add RegisterForRestart, allowing programs to indicate their preferences to the Windows restart manager 1 year ago
svcdiag_windows.go all: use set.Set consistently instead of map[T]struct{} 1 year ago
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 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 1 year ago
zsyscall_windows.go util/winutil: add RegisterForRestart, allowing programs to indicate their preferences to the Windows restart manager 1 year ago