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 11d205f6c4 control/controlclient,posture,util/syspolicy: use predefined syspolicy keys instead of string literals
With the upcoming syspolicy changes, it's imperative that all syspolicy keys are defined in the syspolicy package
for proper registration. Otherwise, the corresponding policy settings will not be read.

This updates a couple of places where we still use string literals rather than syspolicy consts.

Updates #12687

Signed-off-by: Nick Khyl <nickk@tailscale.com>
1 year ago
..
cache
cibuild
clientmetric
cloudenv all: use math/rand/v2 more 2 years ago
cmpver
codegen cmd/cloner, cmd/viewer, util/codegen: add support for aliases of cloneable types 1 year ago
cstruct all: use Go 1.22 range-over-int 2 years ago
ctxkey
deephash util/deephash: fix test regression on 32-bit 2 years ago
dirwalk
dnsname all: use Go 1.22 range-over-int 2 years ago
execqueue
expvarx all: use Go 1.22 range-over-int 2 years ago
fastuuid all: use Go 1.22 range-over-int 2 years ago
goroutines
groupmember
hashx all: use Go 1.22 range-over-int 2 years ago
httphdr
httpm
jsonutil all: use Go 1.22 range-over-int 2 years ago
limiter all: add test for package comments, fix, add comments as needed 2 years ago
lineread
linuxfw util/linuxfw: return nil interface not concrete type 2 years ago
lru util/lru: add Clear method 2 years ago
mak
multierr all: use Go 1.22 range-over-int 2 years ago
must
nocasemaps all: use Go 1.22 range-over-int 2 years ago
osdiag all: add test for package comments, fix, add comments as needed 2 years ago
osshare all: add test for package comments, fix, add comments as needed 2 years ago
osuser util/osuser: turn wasm check into a const expression 2 years ago
pidowner all: use Go 1.22 range-over-int 2 years ago
pool util/pool: add package for storing and using a pool of items 2 years ago
precompress
progresstracking
quarantine
race all: use Go 1.22 range-over-int 2 years ago
racebuild
rands wgengine/magicsock: use math/rands/v2 2 years ago
reload all: use math/rand/v2 more 2 years ago
ringbuffer all: use Go 1.22 range-over-int 2 years ago
set util/set: add Of variant of SetOf that takes variadic parameter 2 years ago
singleflight util/singleflight: add DoChanContext 2 years ago
slicesx util/slicesx: add HasPrefix, HasSuffix, CutPrefix, and CutSuffix functions 2 years ago
syspolicy control/controlclient,posture,util/syspolicy: use predefined syspolicy keys instead of string literals 1 year ago
sysresources
systemd
testenv
topk all: use Go 1.22 range-over-int 2 years ago
truncate
uniq all: use Go 1.22 range-over-int 2 years ago
usermetric usermetric: add initial user-facing metrics 1 year ago
vizerror
winutil util/winutil: add GetRegUserString/SetRegUserString accessors for storage and retrieval of string values in HKEY_CURRENT_USER 1 year ago
zstdframe all: use Go 1.22 range-over-int 2 years ago