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
88234ba4
Commit
88234ba4
authored
7 years ago
by
Sandeep Patil
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
sepolicy: restrict access for /vendor/framework. am:
df679fdb
am:
c98b275e
Change-Id: I424909584152898fa81d8eacf664db851f47e37c
parents
e1a736a0
c98b275e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
public/dex2oat.te
+3
-0
3 additions, 0 deletions
public/dex2oat.te
public/domain.te
+0
-5
0 additions, 5 deletions
public/domain.te
with
3 additions
and
5 deletions
public/dex2oat.te
+
3
−
0
View file @
88234ba4
...
...
@@ -5,6 +5,9 @@ type dex2oat_exec, exec_type, file_type;
r_dir_file(dex2oat, apk_data_file)
# Access to /vendor/app
r_dir_file(dex2oat, vendor_app_file)
# Access /vendor/framework
allow dex2oat vendor_framework_file:dir { getattr search };
allow dex2oat vendor_framework_file:file { getattr open read };
allow dex2oat tmpfs:file { read getattr };
...
...
This diff is collapsed.
Click to expand it.
public/domain.te
+
0
−
5
View file @
88234ba4
...
...
@@ -136,11 +136,6 @@ full_treble_only(`
# TODO: b/36806861
allow domain vendor_app_file:lnk_file { open read };
# TODO: b/36680116, find out who neeeds access and only allow
# specific domains
allow domain vendor_framework_file:dir r_dir_perms;
allow domain vendor_framework_file:file { read open getattr };
# Allow reading and executing out of /vendor to all vendor domains
allow { domain -coredomain } vendor_file_type:dir r_dir_perms;
allow { domain -coredomain } vendor_file_type:file { read open getattr execute };
...
...
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