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
Brad Fitzpatrick 0e950af40d util/linuxfw: remove yet-unused code to fix linux/arm64 crash
The util/linuxfw/iptables.go had a bunch of code that wasn't yet used
(in prep for future work) but because of its imports, ended up
initializing code deep within gvisor that panicked on init on arm64
systems not using 4KB pages.

This deletes the unused code to delete the imports and remove the
panic. We can then cherry-pick this back to the branch and restore it
later in a different way.

A new test makes sure we don't regress in the future by depending on
the panicking package in question.

Fixes #8658

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
(cherry picked from commit 88cc0ad9f7)
11 months ago
..
cibuild all: update copyright and license headers 1 year ago
clientmetric util/clientmetric: allow client metric values to be provided by a function 1 year ago
cloudenv all: update copyright and license headers 1 year ago
cmpver all: update copyright and license headers 1 year ago
cmpx util/cmpx: add package with cmp-like things from future Go releases 12 months ago
codegen util/codegen: support embedded fields 1 year ago
cstruct all: update copyright and license headers 1 year ago
deephash tailcfg,etc: remove unused tailcfg.Node.KeepAlive field 11 months ago
dirwalk all: use tstest.Replace more 1 year ago
dnsname cmd/tailscale: extend hostname validation (#7678) 1 year ago
goroutines util/goroutines: let ScrubbedGoroutineDump get only current stack 11 months ago
groupmember all: update copyright and license headers 1 year ago
hashx all: update copyright and license headers 1 year ago
httpm all: update copyright and license headers 1 year ago
jsonutil all: update copyright and license headers 1 year ago
lineread all: update copyright and license headers 1 year ago
linuxfw util/linuxfw: remove yet-unused code to fix linux/arm64 crash 11 months ago
lru util/lru: add a package for a typed LRU cache 11 months ago
mak various: add golangci-lint, fix issues (#7905) 1 year ago
multierr util/multierr: implement Go 1.20+'s multiple error Unwrap 1 year ago
must all: update copyright and license headers 1 year ago
osshare all: update copyright and license headers 1 year ago
pidowner all: update copyright and license headers 1 year ago
precompress all: update copyright and license headers 1 year ago
quarantine all: update copyright and license headers 1 year ago
racebuild all: update copyright and license headers 1 year ago
ringbuffer util/ringbuffer: move generic ringbuffer from corp repo 1 year ago
set util/set: add a basic map-based Set type 1 year ago
singleflight all: update copyright and license headers 1 year ago
slicesx util/slicesx: add Partition function 12 months ago
sysresources util/sysresources, magicsock: scale DERP buffer based on system memory 1 year ago
systemd all: update copyright and license headers 1 year ago
truncate util: add truncate package (#7490) 1 year ago
uniq all: update copyright and license headers 1 year ago
vizerror util/vizerror: add As function to get wrapped Error 1 year ago
winutil cmd/tailscaled, util/winutil: log our registry keys during tailscaled startup 1 year ago