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
Brad Fitzpatrick 88cc0ad9f7 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>
2 years ago
..
addlicense all: update tools that manage copyright headers 3 years ago
cloner all: update tools that manage copyright headers 3 years ago
containerboot cmd/containerboot,kube: consolidate the two kube clients 3 years ago
derper util/linuxfw: remove yet-unused code to fix linux/arm64 crash 2 years ago
derpprobe prober: migrate to Prometheus metric library 3 years ago
dist release/dist/synology: build synology packages with cmd/dist 3 years ago
get-authkey all: use cmpx.Or where it made sense 3 years ago
gitops-pusher cmd/gitops-pusher: re-use existing types from acl package 2 years ago
hello all: update copyright and license headers 3 years ago
k8s-operator cmd/k8s-operator: update controller-runtime to v0.15 3 years ago
mkmanifest cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 3 years ago
mkpkg all: update copyright and license headers 3 years ago
mkversion version/mkversion: open-source version generation logic 3 years ago
nardump all: update copyright and license headers 3 years ago
netlogfmt all: replace logtail.{Public,Private}ID with logid.{Public,Private}ID (#7404) 3 years ago
nginx-auth tailcfg,all: add and use Node.IsTagged() 3 years ago
pgproxy various: add golangci-lint, fix issues (#7905) 3 years ago
printdep cmd/printdep: print correct toolchain URL 3 years ago
proxy-to-grafana tailcfg,all: add and use Node.IsTagged() 3 years ago
sniproxy tsnet: expose field to configure Wireguard port 2 years ago
speedtest all: update copyright and license headers 3 years ago
ssh-auth-none-demo all: update copyright and license headers 3 years ago
stunc all: update copyright and license headers 3 years ago
sync-containers cmd/sync-containers: update latest and stable tags 3 years ago
tailscale util/linuxfw: remove yet-unused code to fix linux/arm64 crash 2 years ago
tailscaled util/linuxfw: remove yet-unused code to fix linux/arm64 crash 2 years ago
testcontrol all: update copyright and license headers 3 years ago
testwrapper cmd/testwrapper: handle build failures 2 years ago
tsconnect cmd/tsconnect: fix forgotten API change for wasm 3 years ago
tsshd all: update copyright and license headers 3 years ago
viewer util/codegen: support embedded fields 3 years ago