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
0f3c37ae
Commit
0f3c37ae
authored
9 years ago
by
Daniel Rosenberg
Committed by
Android (Google) Code Review
9 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Allow shell and adbd access to media_rw_data_file for now." into nyc-dev
parents
4056af81
bb90999e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
adbd.te
+4
-0
4 additions, 0 deletions
adbd.te
shell.te
+4
-0
4 additions, 0 deletions
shell.te
with
8 additions
and
0 deletions
adbd.te
+
4
−
0
View file @
0f3c37ae
...
@@ -100,3 +100,7 @@ allow adbd storage_file:dir r_dir_perms;
...
@@ -100,3 +100,7 @@ allow adbd storage_file:dir r_dir_perms;
allow adbd storage_file:lnk_file r_file_perms;
allow adbd storage_file:lnk_file r_file_perms;
allow adbd mnt_user_file:dir r_dir_perms;
allow adbd mnt_user_file:dir r_dir_perms;
allow adbd mnt_user_file:lnk_file r_file_perms;
allow adbd mnt_user_file:lnk_file r_file_perms;
# Access to /data/media.
allow adbd media_rw_data_file:dir create_dir_perms;
allow adbd media_rw_data_file:file create_file_perms;
This diff is collapsed.
Click to expand it.
shell.te
+
4
−
0
View file @
0f3c37ae
...
@@ -122,6 +122,10 @@ allow shell sysfs:dir r_dir_perms;
...
@@ -122,6 +122,10 @@ allow shell sysfs:dir r_dir_perms;
# Allow access to ion memory allocation device.
# Allow access to ion memory allocation device.
allow shell ion_device:chr_file rw_file_perms;
allow shell ion_device:chr_file rw_file_perms;
# Access to /data/media.
allow shell media_rw_data_file:dir create_dir_perms;
allow shell media_rw_data_file:file create_file_perms;
###
###
### Neverallow rules
### Neverallow rules
###
###
...
...
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