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
70e59473
Commit
70e59473
authored
7 years ago
by
yro
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Update sepolicy of statsd to be able to find incident_service" am:
356772e4
am:
4917fe8b
Change-Id: I3eb762ddd8a93a31735badea2573071e3f3d7d6e
parents
67d72752
4917fe8b
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
private/incidentd.te
+8
-1
8 additions, 1 deletion
private/incidentd.te
private/statsd.te
+2
-1
2 additions, 1 deletion
private/statsd.te
with
10 additions
and
2 deletions
private/incidentd.te
+
8
−
1
View file @
70e59473
...
...
@@ -99,7 +99,14 @@ binder_call(incidentd, incident)
###
# only system_server, system_app and incident command can find the incident service
neverallow { domain -system_server -system_app -incident -incidentd } incident_service:service_manager find;
neverallow {
domain
-incident
-incidentd
-statsd
-system_app
-system_server
} incident_service:service_manager find;
# only incidentd and the other root services in limited circumstances
# can get to the files in /data/misc/incidents
...
...
This diff is collapsed.
Click to expand it.
private/statsd.te
+
2
−
1
View file @
70e59473
...
...
@@ -41,8 +41,9 @@ unix_socket_connect(statsd, traced_consumer, traced)
# Grant statsd with permissions to register the services.
allow statsd {
statscompanion_service
app_api_service
incident_service
statscompanion_service
system_api_service
}:service_manager find;
...
...
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