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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
7724907f
Commit
7724907f
authored
7 years ago
by
Treehugger Robot
Committed by
Gerrit Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Allow dumpstate to call statsd. This is needed for bugreport."
parents
e58fa548
b10ff337
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
private/dumpstate.te
+3
-0
3 additions, 0 deletions
private/dumpstate.te
private/statsd.te
+4
-0
4 additions, 0 deletions
private/statsd.te
with
7 additions
and
0 deletions
private/dumpstate.te
+
3
−
0
View file @
7724907f
...
...
@@ -27,5 +27,8 @@ userdebug_or_eng(`
# Allow dumpstate to make binder calls to storaged service
binder_call(dumpstate, storaged)
# Allow dumpstate to make binder calls to statsd
binder_call(dumpstate, statsd)
# Collect metrics on boot time created by init
get_prop(dumpstate, boottime_prop)
This diff is collapsed.
Click to expand it.
private/statsd.te
+
4
−
0
View file @
7724907f
...
...
@@ -53,6 +53,10 @@ add_service(statsd, stats_service)
allow statsd stats:fd use;
allow statsd stats:fifo_file write;
# Allow statsd to send dump info to dumpstate
allow statsd dumpstate:fd use;
allow statsd dumpstate:fifo_file { getattr write };
# Allow statsd to call back to stats with status updates.
binder_call(statsd, stats)
...
...
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