Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sepolicy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
775dda1f
Commit
775dda1f
authored
Oct 23, 2015
by
Jeff Vander Stoep
Committed by
android-build-merger
Oct 23, 2015
Browse files
Options
Downloads
Plain Diff
audit untrusted_app access to mtp_device
am:
7b8f9f15
* commit '
7b8f9f15
': audit untrusted_app access to mtp_device
parents
312c2511
7b8f9f15
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
untrusted_app.te
+4
-0
4 additions, 0 deletions
untrusted_app.te
with
4 additions
and
0 deletions
untrusted_app.te
+
4
−
0
View file @
775dda1f
...
@@ -60,7 +60,11 @@ allow untrusted_app system_app_data_file:file { read write getattr };
...
@@ -60,7 +60,11 @@ allow untrusted_app system_app_data_file:file { read write getattr };
#
#
# Access /dev/mtp_usb.
# Access /dev/mtp_usb.
# TODO android.process.media moved to priv_app domain. Does
# untrusted_app still require these permissions? Can "open"
# be removed?
allow untrusted_app mtp_device:chr_file rw_file_perms;
allow untrusted_app mtp_device:chr_file rw_file_perms;
auditallow untrusted_app mtp_device:chr_file rw_file_perms;
# Access to /data/media.
# Access to /data/media.
allow untrusted_app media_rw_data_file:dir create_dir_perms;
allow untrusted_app media_rw_data_file:dir create_dir_perms;
...
...
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