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
45206a38
Commit
45206a38
authored
10 years ago
by
Nick Kralevich
Committed by
Gerrit Code Review
10 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Allow installd to unlink /data/media files and search /data/app-asec."
parents
4bdd13e4
d30060a0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
installd.te
+4
-0
4 additions, 0 deletions
installd.te
with
4 additions
and
0 deletions
installd.te
+
4
−
0
View file @
45206a38
...
@@ -17,6 +17,9 @@ selinux_check_context(installd)
...
@@ -17,6 +17,9 @@ selinux_check_context(installd)
# Read /seapp_contexts and /data/security/seapp_contexts
# Read /seapp_contexts and /data/security/seapp_contexts
security_access_policy(installd)
security_access_policy(installd)
# Search /data/app-asec.
allow installd asec_image_file:dir search;
# Create /data/user and /data/user/0 if necessary.
# Create /data/user and /data/user/0 if necessary.
# Also required to initially create /data/data subdirectories
# Also required to initially create /data/data subdirectories
# and lib symlinks before the setfilecon call. May want to
# and lib symlinks before the setfilecon call. May want to
...
@@ -26,6 +29,7 @@ allow installd system_data_file:lnk_file { create setattr unlink };
...
@@ -26,6 +29,7 @@ allow installd system_data_file:lnk_file { create setattr unlink };
# Upgrade /data/media for multi-user if necessary.
# Upgrade /data/media for multi-user if necessary.
allow installd media_rw_data_file:dir create_dir_perms;
allow installd media_rw_data_file:dir create_dir_perms;
allow installd media_rw_data_file:file unlink;
# restorecon new /data/media directory.
# restorecon new /data/media directory.
allow installd system_data_file:dir relabelfrom;
allow installd system_data_file:dir relabelfrom;
allow installd media_rw_data_file:dir relabelto;
allow installd media_rw_data_file:dir relabelto;
...
...
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