Skip to content
Snippets Groups Projects
Commit 9f1edfbd authored by Robert Quattlebaum's avatar Robert Quattlebaum Committed by android-build-merger
Browse files

wpantund: Allow wpantund to call callbacks am: 0b2d26de

am: ee1f3f8f

Change-Id: Ic651be7bf039588bc65f697f24198483d6c1250b
parents a2d30231 ee1f3f8f
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,13 @@ binder_call(wpantund, system_server) ...@@ -10,6 +10,13 @@ binder_call(wpantund, system_server)
# wpantund needs to be able to check in with the lowpan_service # wpantund needs to be able to check in with the lowpan_service
allow wpantund lowpan_service:service_manager find; allow wpantund lowpan_service:service_manager find;
# Allow wpantund to call any callbacks that have been registered with it.
# Generally, only privileged apps are able to register callbacks with
# wpantund, so we are limiting the scope for callbacks to only privileged
# apps. We also add shell to allow the command-line utility `lowpanctl`
# to work properly from `adb shell`.
allow wpantund {priv_app shell}:binder call;
# create sockets to set interfaces up and down, add multicast groups, etc. # create sockets to set interfaces up and down, add multicast groups, etc.
allow wpantund self:udp_socket create_socket_perms; allow wpantund self:udp_socket create_socket_perms;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment