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
Aaron Klotz 34e8820301 util/winutil: add conpty package and helper for building windows.StartupInfoEx
StartupInfoBuilder is a helper for constructing StartupInfoEx structures
featuring proc/thread attribute lists. Calling its setters triggers the
appropriate setting of fields, adjusting flags as necessary, and populating
the proc/thread attribute list as necessary. Currently it supports four
features: setting std handles, setting pseudo-consoles, specifying handles
for inheritance, and specifying jobs.

The conpty package simplifies creation of pseudo-consoles, their associated
pipes, and assignment of the pty to StartupInfoEx proc/thread attributes.

Updates #12383

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
5 months ago
..
authenticode util/winutil/authenticode: add missing docs for CertSubjectError 1 year ago
conpty util/winutil: add conpty package and helper for building windows.StartupInfoEx 5 months ago
policy winutil: refactor methods to get values from registry to also return (#9536) 1 year ago
testdata/testrestartableprocesses all: use Go 1.22 range-over-int 7 months ago
winenv util/winutil/winenv: add package for current Windows environment details 7 months ago
mksyscall.go util/winutil: add support for restarting Windows processes in specific sessions 12 months ago
restartmgr_windows.go all: use Go 1.22 range-over-int 7 months ago
restartmgr_windows_test.go all: use Go 1.22 range-over-int 7 months ago
startupinfo_windows.go util/winutil: add conpty package and helper for building windows.StartupInfoEx 5 months ago
subprocess_windows_test.go all: cleanup unused code, part 2 (#10670) 11 months ago
svcdiag_windows.go util/winutil: publicize existing functions for opening read-only connections to the Windows Service Control Manager 11 months ago
winutil.go util/syspolicy: add ReadStringArray interface (#11857) 7 months ago
winutil_notwindows.go util/syspolicy: add ReadStringArray interface (#11857) 7 months ago
winutil_windows.go util/syspolicy: add ReadStringArray interface (#11857) 7 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 1 year ago
zsyscall_windows.go util/winutil: add support for restarting Windows processes in specific sessions 12 months ago