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
6f11fa2e
Commit
6f11fa2e
authored
7 years ago
by
TreeHugger Robot
Committed by
Android (Google) Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "storaged: allow storaged to access /data/misc/storaged directory"
parents
0c16f67b
4b6e673a
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
private/compat/26.0/26.0.ignore.cil
+1
-0
1 addition, 0 deletions
private/compat/26.0/26.0.ignore.cil
private/file.te
+3
-0
3 additions, 0 deletions
private/file.te
private/file_contexts
+1
-0
1 addition, 0 deletions
private/file_contexts
private/storaged.te
+4
-0
4 additions, 0 deletions
private/storaged.te
with
9 additions
and
0 deletions
private/compat/26.0/26.0.ignore.cil
+
1
−
0
View file @
6f11fa2e
...
...
@@ -14,6 +14,7 @@
mediaprovider_tmpfs
netd_stable_secret_prop
package_native_service
storaged_data_file
sysfs_fs_ext4_features
system_net_netd_hwservice
thermal_service
...
...
This diff is collapsed.
Click to expand it.
private/file.te
+
3
−
0
View file @
6f11fa2e
...
...
@@ -5,3 +5,6 @@ typealias app_data_file alias download_file;
# /proc/config.gz
type config_gz, fs_type;
# /data/misc/storaged
type storaged_data_file, file_type, data_file_type, core_data_file_type;
This diff is collapsed.
Click to expand it.
private/file_contexts
+
1
−
0
View file @
6f11fa2e
...
...
@@ -376,6 +376,7 @@
/data/misc/recovery(/.*)? u:object_r:recovery_data_file:s0
/data/misc/shared_relro(/.*)? u:object_r:shared_relro_file:s0
/data/misc/sms(/.*)? u:object_r:radio_data_file:s0
/data/misc/storaged(/.*)? u:object_r:storaged_data_file:s0
/data/misc/systemkeys(/.*)? u:object_r:systemkeys_data_file:s0
/data/misc/textclassifier(/.*)? u:object_r:textclassifier_data_file:s0
/data/misc/user(/.*)? u:object_r:misc_user_data_file:s0
...
...
This diff is collapsed.
Click to expand it.
private/storaged.te
+
4
−
0
View file @
6f11fa2e
...
...
@@ -15,6 +15,10 @@ allow storaged proc_uid_io_stats:file r_file_perms;
# Read /data/system/packages.list
allow storaged system_data_file:file r_file_perms;
# Store storaged proto file
allow storaged storaged_data_file:dir rw_dir_perms;
allow storaged storaged_data_file:file create_file_perms;
userdebug_or_eng(`
# Read access to debugfs
allow storaged debugfs_mmc:dir search;
...
...
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