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
a1c2cc15
Commit
a1c2cc15
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
Change-Id: I688425133a1415b167a84fead69bc0ec6ec84897
parents
43f548c8
3101d4a7
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 @
a1c2cc15
...
...
@@ -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 @
a1c2cc15
...
...
@@ -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