Skip to content
Snippets Groups Projects
Commit d75a2c0c authored by Jeff Vander Stoep's avatar Jeff Vander Stoep
Browse files

Exempt tetheroffload hal from network socket restrictions

The tetheroffload hal must be able to use network sockets as part of
its job.

Bug: 62870833
Test: neverallow-only change builds.
Change-Id: I630b36340796a5ecb5db08e732b0978dd82835c7
parent 3692b318
No related branches found
No related tags found
No related merge requests found
......@@ -8,10 +8,11 @@ neverallow {
-rild
} self:capability { net_admin net_raw };
# Unless a HAL's job is to manage network hardware, it should not be
# using network sockets.
# Unless a HAL's job is to communicate over the network, or control network
# hardware, it should not be using network sockets.
neverallow {
halserverdomain
-hal_tetheroffload_server
-hal_wifi_server
-hal_wifi_supplicant_server
-rild
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment