Merge master into oreo-dev
This pulls in:
net-test: try to detect vsyscall=none uml and warn about it.
Add tests for unset output marks on floating policies
Revert "Test Updating OUTPUT_MARK on Active SAs"
Test Updating OUTPUT_MARK on Active SAs
anycast_test.py: increase waiting time to 3 sec to wait CloseFileDescriptorThread finished
anycast_test.py: increase waiting time to 3 sec to wait CloseFileDescriptorThread finished
Test to check tcp initial rwnd size
net_test: fix job control in console's bash terminal
net_test: workaround for 3.18 and 4.4 late urandom init
Revert "Implement a workaround for clang + PARAVIRT failure."
net-test: deflake 4.19 entropy installation
anycast_test.py: change to use thread.join to wait CloseFileDescriptorThread finished
Use blocking sockets with timeout for xfrm_tunnel_test
Close the socket in socketCreateTest before exist
Test to verify cgroup socket filter
net_test - extra debugging for ReadProcNetSocket() regexp match failures
net/test/OWNERS: passing the torch from ek@ to maze@
run_net_test - further boost UML entropy
run_net_test.sh: Add support for arm64
build_rootfs.sh: Add support for arm64
Improve xfrm net test
Improve xfrm net test
Filter neighbour dumps by interface.
run_net_test: UML - fix insufficient entropy problems
run_net_test: handle UML's tendency to leave stdout in non-blocking mode
run_net_test.sh: switch to readonly by default
run_net_test: add 'no_test' test
Filter neighbour dumps by interface.
run_net_test.sh: fix UML --readonly flag
Enable virtio rng device for net tests on qemu/kvm.
Add lspci & lsusb commands to stretch image.
Remove mutable default parameter in tunnel_test
Document/enforce a bug in udp_dump_one.
Allow ROOTFS to use environment variables
Check xfrm state to delete embryonic SA
Fix sysfs mount in net_test.sh.
net_test: fix sock_diag_test.py to handle ipv5 correctly
Add tests for netfilter reject policies
Add tests for VTI rekey procedure
Always test UDP_DIAG for 4.9 kernel
Refactor VTI tests to support null encryption
Add tunnel input tests to net_tests
Refactor parameterization logic in net tests
Fix nobuild runs of run_net_test.sh without KERNEL_BINARY env var set
Add scripts for building the net tests rootfs.
anycast_test.py: change to use thread.join to wait CloseFileDescriptorThread finished
Fix net tests for 32-bit kernel
Fix net tests for 32-bit kernel
Enable FHANDLE to support systemd
Implement a workaround for clang + PARAVIRT failure.
Add support for running the harness with QEMU.
Annotate non-common kernel config options.
Fix some invalid config options.
Drop unnecessary CONFIG_ prefixes.
Fix selection of bpf syscall number with COMPAT_UTS_MACHINE.
Add __NR_bpf constant for i686.
Fix the flaky cgroup uid bpf test
Test for getFirstMapKey of bpf maps
Test for getFirstMapKey of bpf maps
Test experimental xfrm interfaces if supported.
Be flexible about TCP RST and SOCK_DESTROY poll return values.
Set SA mark to unused for Tunnel Mode
Be flexible about TCP RST and SOCK_DESTROY poll return values.
Verify VTI Modification using RTM_NEWLINK
Verify VTI Modification using RTM_NEWLINK
Disable qtaguid tests if qtaguid is not present.
Enable algorithm net tests for 3.18 kernels
Fix algorithm tests to ensure no lingering sockets
Enable algorithm net tests for 3.18 kernels
Fix algorithm tests to ensure no lingering sockets
Test for bpf read/write only map
Make sock_diag_test.py pass on 4.9 devices that don't have SCTP.
Make BPF tests pass on device.
Test multiple VTI tunnels at the same time.
Add a new VtiInterface class and use it in XfrmVtiTest.
net_test: fix exit code.
Test that ICMP errors work on VTI interfaces.
Don't require XFRM tests to flush all state on tearDown.
Move some utility code from xfrm_base to xfrm.
Add handling for parameterized test modules
Make tcp_fastopen_test pass on new scapy.
Switch from using epoll to poll.
Don't require that we be the only sockets in the system.
Fix Tunnel Encryption with New Scapy
Unbreak tests that use mapped addresses on bionic.
Make xfrm_test pass with newer versions of iproute.
Don't fail if CONFIG_INET_UDP_DIAG is not enabled.
Fix tests to pass on newer versions of scapy.
Initial test for dt for early mount.
Make testIPv6PktinfoRouting pass on 32-bit Python.
Make incoming mark tests pass on device.
Don't use the fwmark client when running tests on device.
Don't expect eBPF support when running on 4.4.
net_test: return non-zero exit code on failure.
Fix incorrect fallback path for iptables.
Build network tests for android device.
Add ability for all_tests.sh to run based on prefix
Check that rxmem and txmem don't differ too much from each other
Un-hardcode the VTI iface and netid
Split the VTI tests and the tunnel tests.
Move the input marking code into multinetwork_base.
Support sending ICMP PTBs for non-UDP packets.
Fix decoding RTA_UID.
Test that an SA Can be Updated with a Mark
Add tests for transport mode re-key procedure
Make GetEspPacketLength calculate lengths dynamically
Use RTPROT_RA for kernel 4.14 instead of RTPROT_BOOT in DelRA6()
Fix missing config UBD, HOSTFS and NF_SOCKET_IPV4/6 for kernel 4.14
Support Tunnel Mode Null Encryption
Verify Security Policies May Differ by Only Direction
Test IPv4 transport mode on dual-stack sockets.
Test removing socket policies.
Tests for Adding and Updating Global Policies
Fix missing argument in kernel tests
Add AES-GCM kernel tests
Add Test for Invalid Algorithms
Move OWNERS file for net_test to net/test.
Enforce that there is exactly one field name per field.
Check that VTI input/output correctly increment counters.
Specify SPIs in host byte order in xfrm code.
Properly use dual-stack SAs.
Remove duplicated code to create policies and templates.
Group the parameters passed in to create SAs.
Pass around XfrmSelector instead of its parameters.
Add helpers for null encryption.
Add code to parse link stats.
Move _SetInboundMarking to multinetwork_base.py.
Stop calling InvalidateDstCache in xfrm tests.
Improve netlink debugging.
Provide an AddressVersion utility function.
Enable null crypto for kernel tests.
Use a UDP socket instead of a ping socket for ioctls.
Tests for TCP_FASTOPEN_CONNECT.
Support the generic netlink interface to TCP metrics.
Basic support for generic netlink.
Test that dst cache is cleared with socket policy.
Add Input Checking to the VTI tests
Wait for IPv6 addresses to be actually added.
Move SetSocketTimeout to csocket.
Minor fixes to iproute.
Add Debug Dump for XfrmUserpolicyInfo
Enable XfrmOutputMarkTest everywhere.
Skip multicast packets in TunTwister
Enable XfrmOutputMarkTest on more kernels.
Use Network saddr in Tunnel Mode Test
Update XFRM/VTI Tunnel mode tests to use output_mark
Add Tests for XFRM Tunnel and VTI Interface
Convert TunTwister's Twisting Methods to Classmethod
Add a test for XFRMA_OUTPUT_MARK.
Minor cleanups for existing tests
Factor a base class out of xfrm_test
Use ApplySocketPolicy in the basic xfrm tests.
Re-enable socket policy test by invalidating the dst cache.
Allow parallel_tests.sh to run an arbitrary test.
Exhaustive socket policy tests.
Test for a bug deleting invalid UID ranges.
Create 'TunTwister' util for twisting tun/tap.
Add XfrmMark Support for SAs and SPs
Add Methods to create User Policy to xfrm.py
Make the qtaguid test more stable
Test that SOCK_DESTROY affects poll() like a TCP RST.
Add more coverage for errors after a socket is closed.
Switch InvalidateDstCache to using throw routes.
Test verify qtaguid not drop packet without socket.
forwarding_test: Add a test for forwarding UDPv6
Check for negative values in SO_{RCV,SND}BUFFORCE.
Trim OWNERS
Revert "Revert "Add VTI Configs to Networking Unit Tests""
Revert "Add VTI Configs to Networking Unit Tests"
Add VTI Configs to Networking Unit Tests
Add tests for cgroup v2 bpf and new helper functions
Add OWNERS in kernel/tests
Add attribute offset support to cstruct
Turn on /proc/net/xfrm_stat in kernel config.
Test case to check getsockopt operation SO_COOKIE
New ways to instantate cstruct objects.
Add tests for ALLOCSPI.
Support "with"-style errno assertions.
Clean up and reorgnize the bpf Test
Remove unused imports.
More tests on xt_qtaguid owner match function
Test that SHA2 hashes use 128-bit truncation with PF_KEY.
Add code to use the PF_KEY interface.
Enable qtaguid sk fd test
Support flushing XFRM state.
De-duplicate iptables command code.
Also test link-local ping on connected sockets.
Make net_test enable CONFIG_NETFILTER_TPROXY as well.
Add test to check socket get untagged after closed
Fix incorrect protocol argument to RTM_DELROUTE
Support more device-like filesystem layout.
Use actual pointer objects instead of integers.
Revert "Unit test for socket cookie upstream patch"
Unit test for socket cookie upstream patch
Enable full RIOTest.testZeroLengthPrefix test on all kernel versions
net_test: Add test for RFC7559 router solicitation backoff
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I3af734167b09fa68085941e34f2369f5a19028e4