diff options
author | Bram Bonné <brambonne@google.com> | 2020-01-23 17:05:42 +0100 |
---|---|---|
committer | Bram Bonné <brambonne@google.com> | 2020-01-23 17:05:42 +0100 |
commit | d3df35e026e37985754e8766da0afcfcb9531290 (patch) | |
tree | 2645aaf3cc0e276815a5814c8605588532e1014f /tests/malloc_test.cpp | |
parent | d54ad07f50efb5a1f35d460deb5857b6ad220942 (diff) |
Soft-enables MAC address restrictions.
Updates getifaddrs() to behave as if RTM_GETLINK requests are not
allowed for non-system apps that have their target SDK set to R.
This change will be reverted when kernel changes enforcing this behavior
are merged, and is purely meant to check for potential appcompat issues
beforehand.
Bug: 141455849
Test: atest bionic-unit-tests-static
Test: atest NetworkInterfaceTest
Test: Connect to Wi-Fi network
Test: Set up hotspot
Test: Cast from device
Test: Pair Bluetooth device
Test: Call getifaddrs() directly from within an app.
Test: Call NetworkInterface#getNetworkInterfaces() from within an app.
Test: Repeat above tests with an app that targets Android R.
Change-Id: I472891d3e8a18c86ae478be1bab1048636aa95b4
Diffstat (limited to 'tests/malloc_test.cpp')
0 files changed, 0 insertions, 0 deletions