diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-01-02 17:47:49 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-05 14:08:32 -0800 |
commit | 9a69a4c8802adf642bc4a13d471b5a86b44ed434 (patch) | |
tree | 12ee549da4e67ce7aba64d73715b652a6dd37788 /tools/testing/selftests/wireguard/qemu/init.c | |
parent | 3b477d6cdc4a44f617540ace2466a3fc58dc72d5 (diff) |
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>
Diffstat (limited to 'tools/testing/selftests/wireguard/qemu/init.c')
-rw-r--r-- | tools/testing/selftests/wireguard/qemu/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/wireguard/qemu/init.c b/tools/testing/selftests/wireguard/qemu/init.c index 51e5ddedee88..90bc9813cadc 100644 --- a/tools/testing/selftests/wireguard/qemu/init.c +++ b/tools/testing/selftests/wireguard/qemu/init.c @@ -21,6 +21,7 @@ #include <sys/reboot.h> #include <sys/utsname.h> #include <sys/sendfile.h> +#include <sys/sysmacros.h> #include <linux/random.h> #include <linux/version.h> |