Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemSEPolicy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
f660ead8
Commit
f660ead8
authored
7 years ago
by
Robert Quattlebaum
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
wpantund: Allow wpantund to call callbacks am:
0b2d26de
am:
ee1f3f8f
am:
9f1edfbd
Change-Id: I9dbe364fd19d1082ad88deadf1f64e6958aecf88
parents
4799e34d
9f1edfbd
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/wpantund.te
+7
-0
7 additions, 0 deletions
public/wpantund.te
with
7 additions
and
0 deletions
public/wpantund.te
+
7
−
0
View file @
f660ead8
...
...
@@ -10,6 +10,13 @@ binder_call(wpantund, system_server)
# wpantund needs to be able to check in with the lowpan_service
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.
allow wpantund self:udp_socket create_socket_perms;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment