mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-30 05:25:35 +00:00
855f79fad7
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> |
||
---|---|---|
.. | ||
childproc | ||
debug.go | ||
depaware.txt | ||
generate.go | ||
install_darwin.go | ||
install_windows.go | ||
manifest_windows_386.syso | ||
manifest_windows_amd64.syso | ||
manifest_windows_arm64.syso | ||
proxy.go | ||
required_version.go | ||
sigpipe.go | ||
ssh.go | ||
taildrop.go | ||
tailscaled_bird.go | ||
tailscaled_notwindows.go | ||
tailscaled_test.go | ||
tailscaled_windows.go | ||
tailscaled.defaults | ||
tailscaled.go | ||
tailscaled.openrc | ||
tailscaled.service | ||
windows-manifest.xml | ||
with_cli.go |