diff options
author | Bram Bonné <brambonne@google.com> | 2020-11-16 10:19:34 +0000 |
---|---|---|
committer | Bram Bonné <brambonne@google.com> | 2020-11-16 12:53:49 +0000 |
commit | 53211a98dc902a1cc7a24477169dd65a06779473 (patch) | |
tree | 0e0ccfce4ab8015ca5efc70b7171ea71ce7b439f /tests/stdio_test.cpp | |
parent | 259776d8ffcb64679e9c8d3459c2ec3a68a9e061 (diff) |
Revert^2 "Soft-enables new MAC address restrictions."
259776d8ffcb64679e9c8d3459c2ec3a68a9e061
The original change was reverted due to InterfaceParamsTest failing.
This test has now been fixed in r.android.com/1498525.
The original change message is below.
Updates getifaddrs() to behave as if RTM_GETLINK requests are not
allowed for non-system apps. This is different from previous behavior,
where apps targeting an API level < 30 were exempted from this
restriction.
Actual enforcement happens in SELinux. This change:
- Soft-enables the behavior until SELinux changes are in place
- Prevents logspam from SELinux denials after they are in place
Bug: 170188668
Test: atest bionic-unit-tests-static
Test: atest NetworkInterfaceTest
Test: Connect to Wi-Fi network
Test: Call getifaddrs() directly from within an app.
Test: Call NetworkInterface#getNetworkInterfaces() from within an app.
Change-Id: Ia9f61819f8fdf878c0e67e57de7e893fb3b1c233
Diffstat (limited to 'tests/stdio_test.cpp')
0 files changed, 0 insertions, 0 deletions