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
a4e83bc5
Commit
a4e83bc5
authored
7 years ago
by
Tri Vo
Committed by
Android (Google) Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Revert "Coredomain can't execute vendor code.""
parents
cba25d2c
d2315bdf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
public/attributes
+0
-6
0 additions, 6 deletions
public/attributes
public/domain.te
+0
-14
0 additions, 14 deletions
public/domain.te
with
0 additions
and
20 deletions
public/attributes
+
0
−
6
View file @
a4e83bc5
...
...
@@ -154,12 +154,6 @@ expandattribute vendor_executes_system_violators false;
attribute data_between_core_and_vendor_violators;
expandattribute data_between_core_and_vendor_violators false;
# All system domains which violate the requirement of not executing vendor
# binaries/libraries.
# TODO(b/62041836)
attribute system_executes_vendor_violators;
expandattribute system_executes_vendor_violators false;
# hwservices that are accessible from untrusted applications
# WARNING: Use of this attribute should be avoided unless
# absolutely necessary. It is a temporary allowance to aid the
...
...
This diff is collapsed.
Click to expand it.
public/domain.te
+
0
−
14
View file @
a4e83bc5
...
...
@@ -891,20 +891,6 @@ full_treble_only(`
-crash_dump_exec
-netutils_wrapper_exec
}:file { entrypoint execute execute_no_trans };
# Do not allow system components to execute files from vendor
# except for the ones whitelist here.
neverallow {
coredomain
-init
-system_executes_vendor_violators
-vendor_init
} {
vendor_file_type
-same_process_hal_file
-vndk_sp_file
-vendor_app_file
}:file { execute execute_no_trans };
')
# Only authorized processes should be writing to files in /data/dalvik-cache
...
...
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