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
ea0bae5f
Commit
ea0bae5f
authored
8 years ago
by
Jin Qian
Committed by
android-build-merger
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Allow GMSCore to call dumpsys storaged" into oc-dev am:
3101d4a7
am:
a1c2cc15
Change-Id: I9959c43cd1615e602e681bc3e7f3f80133c3775c
parents
14ee1181
a1c2cc15
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
private/priv_app.te
+4
-0
4 additions, 0 deletions
private/priv_app.te
private/storaged.te
+5
-0
5 additions, 0 deletions
private/storaged.te
with
9 additions
and
0 deletions
private/priv_app.te
+
4
−
0
View file @
ea0bae5f
...
...
@@ -91,6 +91,10 @@ allowxperm priv_app self:udp_socket ioctl SIOCGIFHWADDR;
binder_call(priv_app, update_engine)
allow priv_app update_engine_service:service_manager find;
# Allow GMS core to communicate with dumpsys storaged.
binder_call(priv_app, storaged)
allow priv_app storaged_service:service_manager find;
# Allow Phone to read/write cached ringtones (opened by system).
allow priv_app ringtone_file:file { getattr read write };
...
...
This diff is collapsed.
Click to expand it.
private/storaged.te
+
5
−
0
View file @
ea0bae5f
...
...
@@ -25,6 +25,11 @@ userdebug_or_eng(`
allow storaged shell:fd use;
allow storaged shell:fifo_file write;
# Needed for GMScore to call dumpsys storaged
allow storaged priv_app:fd use;
allow storaged app_data_file:file write;
allow storaged permission_service:service_manager find;
# Binder permissions
add_service(storaged, storaged_service)
...
...
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