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
Nick Khyl e815ae0ec4 util/syspolicy, ipn/ipnlocal: update syspolicy package to utilize syspolicy/rsop
In this PR, we update the syspolicy package to utilize syspolicy/rsop under the hood,
and remove syspolicy.CachingHandler, syspolicy.windowsHandler and related code
which is no longer used.

We mark the syspolicy.Handler interface and RegisterHandler/SetHandlerForTest functions
as deprecated, but keep them temporarily until they are no longer used in other repos.

We also update the package to register setting definitions for all existing policy settings
and to register the Registry-based, Windows-specific policy stores when running on Windows.

Finally, we update existing internal and external tests to use the new API and add a few more
tests and benchmarks.

Updates #12687

Signed-off-by: Nick Khyl <nickk@tailscale.com>
1 week ago
..
cache
cibuild
clientmetric wgengine: instrument with usermetrics 3 weeks ago
cloudenv all: use math/rand/v2 more 5 months ago
cmpver
codegen cmd/viewer: import types/views when generating a getter for a map field 2 weeks ago
cstruct
ctxkey
deephash util/deephash: fix test regression on 32-bit 5 months ago
dirwalk
dnsname
execqueue
expvarx
fastuuid
goroutines
groupmember
hashx
httphdr
httpm
jsonutil
limiter all: add test for package comments, fix, add comments as needed 4 months ago
lineread
linuxfw cmd/containerboot,util/linuxfw: create a SNAT rule for dst/src only once, clean up if needed (#13658) 4 weeks ago
lru util/lru: add Clear method 6 months ago
mak
multierr
must
nocasemaps
osdiag all: add test for package comments, fix, add comments as needed 4 months ago
osshare all: add test for package comments, fix, add comments as needed 4 months ago
osuser util/osuser: turn wasm check into a const expression 3 months ago
pidowner
pool util/pool: add package for storing and using a pool of items 5 months ago
precompress
progresstracking
quarantine
race
racebuild
rands wgengine/magicsock: use math/rands/v2 5 months ago
reload all: use math/rand/v2 more 5 months ago
ringbuffer
set util/set: add Of variant of SetOf that takes variadic parameter 6 months ago
singleflight util/singleflight: add DoChanContext 5 months ago
slicesx util/slicesx: add FirstElementEqual and LastElementEqual 2 months ago
syspolicy util/syspolicy, ipn/ipnlocal: update syspolicy package to utilize syspolicy/rsop 1 week ago
sysresources
systemd
testenv
topk
truncate
uniq
usermetric util/usermetrics: make usermetrics non-global 1 month ago
vizerror util/vizerror: add WrapWithMessage 3 weeks ago
winutil util/winutil: add GetRegUserString/SetRegUserString accessors for storage and retrieval of string values in HKEY_CURRENT_USER 2 months ago
zstdframe