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
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>
6 months ago
..
cache util/cache: fix missing interface methods (#11275) 9 months ago
cibuild all: update copyright and license headers 2 years ago
clientmetric util/clientmetric: allow client metric values to be provided by a function 2 years ago
cloudenv all: use math/rand/v2 more 6 months ago
cmpver util/cmpver: add Less/LessEq helper funcs 9 months ago
codegen all: use Go 1.22 range-over-int 8 months ago
cstruct all: use Go 1.22 range-over-int 8 months ago
ctxkey all: use reflect.TypeFor now available in Go 1.22 (#11078) 10 months ago
deephash all: use Go 1.22 range-over-int 8 months ago
dirwalk all: use tstest.Replace more 2 years ago
dnsname all: use Go 1.22 range-over-int 8 months ago
execqueue control/controlclient,util/execqueue: extract execqueue into a package 11 months ago
expvarx all: use Go 1.22 range-over-int 8 months ago
fastuuid all: use Go 1.22 range-over-int 8 months ago
goroutines util/goroutines: let ScrubbedGoroutineDump get only current stack 1 year ago
groupmember util/groupmember: fail earlier if group doesn't exist, use slices.Contains 1 year ago
hashx all: use Go 1.22 range-over-int 8 months ago
httphdr util/httphdr: add new package for parsing HTTP headers (#9797) 1 year ago
httpm util/httpm: don't run test if .git doesn't exist 1 year ago
jsonutil all: use Go 1.22 range-over-int 8 months ago
limiter all: use Go 1.22 range-over-int 8 months ago
lineread all: update copyright and license headers 2 years ago
linuxfw util/linuxfw: don't try cleaning iptables on gokrazy 6 months ago
lru util/lru: add Clear method 7 months ago
mak various: add golangci-lint, fix issues (#7905) 2 years ago
multierr all: use Go 1.22 range-over-int 8 months ago
must all: update copyright and license headers 2 years ago
nocasemaps all: use Go 1.22 range-over-int 8 months ago
osdiag ipn/local: log OS-specific diagnostic information as JSON (#11700) 7 months ago
osshare all: update copyright and license headers 2 years ago
osuser util/osuser: add unit test for parseGroupIds 7 months ago
pidowner all: use Go 1.22 range-over-int 8 months ago
pool util/pool: add package for storing and using a pool of items 6 months ago
precompress all: update copyright and license headers 2 years ago
progresstracking ipn/localapi: add support for multipart POST to file-put 8 months ago
quarantine all: update copyright and license headers 2 years ago
race all: use Go 1.22 range-over-int 8 months ago
racebuild all: update copyright and license headers 2 years ago
rands wgengine/magicsock: use math/rands/v2 6 months ago
reload all: use math/rand/v2 more 6 months ago
ringbuffer all: use Go 1.22 range-over-int 8 months ago
set util/set: add Of variant of SetOf that takes variadic parameter 7 months ago
singleflight all: use Go 1.22 range-over-int 8 months ago
slicesx all: use math/rand/v2 more 6 months ago
syspolicy all: do not depend on the testing package 6 months ago
sysresources util/sysresources, magicsock: scale DERP buffer based on system memory 2 years ago
systemd all: update copyright and license headers 2 years ago
testenv util/testenv: add new package to hold InTest 1 year ago
topk all: use Go 1.22 range-over-int 8 months ago
truncate util/truncate: support []byte as well (#11614) 8 months ago
uniq all: use Go 1.22 range-over-int 8 months ago
vizerror util/vizerror: add As function to get wrapped Error 2 years ago
winutil util/winutil: add conpty package and helper for building windows.StartupInfoEx 6 months ago
zstdframe all: use Go 1.22 range-over-int 8 months ago