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
7297ea2a
Commit
7297ea2a
authored
7 years ago
by
Jeff Vander Stoep
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
domain_deprecated: remove rootfs access
am:
a12aad45
Change-Id: I0cc33674afefeb455bd53702c304d9317ae2e937
parents
7f2fb741
a12aad45
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
private/platform_app.te
+3
-0
3 additions, 0 deletions
private/platform_app.te
private/system_app.te
+3
-0
3 additions, 0 deletions
private/system_app.te
public/update_engine_common.te
+4
-0
4 additions, 0 deletions
public/update_engine_common.te
with
10 additions
and
0 deletions
private/platform_app.te
+
3
−
0
View file @
7297ea2a
...
...
@@ -38,6 +38,9 @@ allow platform_app mnt_media_rw_file:dir r_dir_perms;
allow platform_app vfat:dir create_dir_perms;
allow platform_app vfat:file create_file_perms;
# com.android.systemui
allow platform_app rootfs:dir getattr;
allow platform_app audioserver_service:service_manager find;
allow platform_app cameraserver_service:service_manager find;
allow platform_app drmserver_service:service_manager find;
...
...
This diff is collapsed.
Click to expand it.
private/system_app.te
+
3
−
0
View file @
7297ea2a
...
...
@@ -11,6 +11,9 @@ app_domain(system_app)
net_domain(system_app)
binder_service(system_app)
# android.ui and system.ui
allow system_app rootfs:dir getattr;
# Read and write /data/data subdirectory.
allow system_app system_app_data_file:dir create_dir_perms;
allow system_app system_app_data_file:{ file lnk_file } create_file_perms;
...
...
This diff is collapsed.
Click to expand it.
public/update_engine_common.te
+
4
−
0
View file @
7297ea2a
...
...
@@ -13,6 +13,10 @@ allow update_engine_common system_block_device:blk_file rw_file_perms;
# requires it.
allow update_engine_common misc_block_device:blk_file rw_file_perms;
# read fstab
allow update_engine_common rootfs:dir getattr;
allow update_engine_common rootfs:file r_file_perms;
# Allow update_engine_common to mount on the /postinstall directory and reset the
# labels on the mounted filesystem to postinstall_file.
allow update_engine_common postinstall_mnt_dir:dir mounton;
...
...
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