wireguard: selftests: remove ancient kernel compatibility code
authorJason A. Donenfeld <Jason@zx2c4.com>
Thu, 2 Jan 2020 16:47:49 +0000 (17:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jan 2020 22:08:32 +0000 (14:08 -0800)
commit9a69a4c8802adf642bc4a13d471b5a86b44ed434
tree12ee549da4e67ce7aba64d73715b652a6dd37788
parent3b477d6cdc4a44f617540ace2466a3fc58dc72d5
wireguard: selftests: remove ancient kernel compatibility code

Quite a bit of the test suite was designed to work with ancient kernels.
Thankfully we no longer have to deal with this. This commit updates
things that we can finally update and removes things that we can finally
remove, to avoid the build-up of the last several years as a result of
having to support ancient kernels. We can finally rely on suppress_
prefixlength being available. On the build side of things, the no-PIE
hack is no longer required, and we can bump some of the tools, repair
our m68k and i686-kvm support, and get better coverage of the static
branches used in the crypto lib and in udp_tunnel.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/wireguard/netns.sh
tools/testing/selftests/wireguard/qemu/Makefile
tools/testing/selftests/wireguard/qemu/arch/m68k.config
tools/testing/selftests/wireguard/qemu/init.c
tools/testing/selftests/wireguard/qemu/kernel.config