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/cmd
Aaron Klotz 855f79fad7 cmd/tailscaled, util/winutil: changes to process and token APIs in winutil
This PR changes the internal getTokenInfo function to use generics.
I also removed our own implementations for obtaining a token's user
and primary group in favour of calling the ones now available in
x/sys/windows.

Furthermore, I added two new functions for working with tokens, logon
session IDs, and Terminal Services / RDP session IDs.

I modified our privilege enabling code to allow enabling of multiple
privileges via one single function call.

Finally, I added the ProcessImageName function and updated the code in
tailscaled_windows.go to use that instead of directly calling the
underlying API.

All of these changes will be utilized by subsequent PRs pertaining to
this issue.

Updates https://github.com/tailscale/corp/issues/13998

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
8 months ago
..
addlicense all: update tools that manage copyright headers 1 year ago
cloner cmd/cloner: fix typo in test type's name 9 months ago
containerboot cmd/containerboot: revert to using tailscale up 9 months ago
derper derp/derphttp: fix race in mesh watcher 8 months ago
derpprobe prober: migrate to Prometheus metric library 1 year ago
dist cmd/dist,release/dist: add distsign signing hooks (#9070) 10 months ago
get-authkey all: use cmpx.Or where it made sense 1 year ago
gitops-pusher .github,cmd/gitops-pusher: update to checkout@v4 10 months ago
hello all: update copyright and license headers 1 year ago
k8s-operator cmd/k8s-operator: set different app type for operator with proxy (#10081) 8 months ago
mkmanifest cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 1 year ago
mkpkg go.mod: upgrade nfpm to v2 (#8786) 11 months ago
mkversion version/mkversion: open-source version generation logic 1 year ago
nardump all: update copyright and license headers 1 year ago
netlogfmt go.mod: update github.com/go-json-experiment/json (#9508) 10 months ago
nginx-auth tailcfg,all: add and use Node.IsTagged() 1 year ago
pgproxy various: add golangci-lint, fix issues (#7905) 1 year ago
printdep cmd/printdep: print correct toolchain URL 1 year ago
proxy-to-grafana tailcfg,all: add and use Node.IsTagged() 1 year ago
sniproxy appc,cmd/sniproxy,ipn/ipnlocal: split sniproxy configuration code out of appc 8 months ago
speedtest all: update copyright and license headers 1 year ago
ssh-auth-none-demo all: replace deprecated ioutil references 10 months ago
stunc all: update copyright and license headers 1 year ago
sync-containers all: adjust some build tags for plan9 10 months ago
tailscale ipn: remove the preview-webclient node capability 8 months ago
tailscaled cmd/tailscaled, util/winutil: changes to process and token APIs in winutil 8 months ago
testcontrol all: update copyright and license headers 1 year ago
testwrapper tstest, tstest/integration, github/workflows: shard integration tests 9 months ago
tsconnect cmd/tsconnect/wasm: add missing tstun.Wrapper.Start call 9 months ago
tsshd all: update copyright and license headers 1 year ago
viewer cmd/cloner: add regression test for slice nil/empty semantics 9 months ago