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
b53788de
Commit
b53788de
authored
11 years ago
by
Stephen Smalley
Committed by
Android Git Automerger
11 years ago
Browse files
Options
Downloads
Plain Diff
am
a7716718
: Label /data/misc/media and allow mediaserver access to it.
* commit '
a7716718
': Label /data/misc/media and allow mediaserver access to it.
parents
eac6e590
a7716718
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
file.te
+1
-0
1 addition, 0 deletions
file.te
file_contexts
+1
-0
1 addition, 0 deletions
file_contexts
mediaserver.te
+2
-0
2 additions, 0 deletions
mediaserver.te
with
4 additions
and
0 deletions
file.te
+
1
−
0
View file @
b53788de
...
...
@@ -51,6 +51,7 @@ type gps_data_file, file_type, data_file_type;
# /data/misc subdirectories
type audio_firmware_file, file_type, data_file_type;
type bluetooth_data_file, file_type, data_file_type;
type media_data_file, file_type, data_file_type;
type keystore_data_file, file_type, data_file_type;
type vpn_data_file, file_type, data_file_type;
type systemkeys_data_file, file_type, data_file_type;
...
...
This diff is collapsed.
Click to expand it.
file_contexts
+
1
−
0
View file @
b53788de
...
...
@@ -170,6 +170,7 @@
/data/misc/bluetooth(/.*)? u:object_r:bluetooth_data_file:s0
/data/misc/bluedroid(/.*)? u:object_r:bluetooth_data_file:s0
/data/misc/keystore(/.*)? u:object_r:keystore_data_file:s0
/data/misc/media(/.*)? u:object_r:media_data_file:s0
/data/misc/vpn(/.*)? u:object_r:vpn_data_file:s0
/data/misc/systemkeys(/.*)? u:object_r:systemkeys_data_file:s0
/data/misc/wifi(/.*)? u:object_r:wifi_data_file:s0
...
...
This diff is collapsed.
Click to expand it.
mediaserver.te
+
2
−
0
View file @
b53788de
...
...
@@ -18,6 +18,8 @@ binder_service(mediaserver)
allow mediaserver self:process execmem;
allow mediaserver kernel:system module_request;
allow mediaserver media_data_file:dir rw_dir_perms;
allow mediaserver media_data_file:file create_file_perms;
allow mediaserver app_data_file:dir search;
allow mediaserver app_data_file:file rw_file_perms;
allow mediaserver platform_app_data_file:file { getattr read };
...
...
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