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
52b73858
Commit
52b73858
authored
7 years ago
by
Sandeep Patil
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Add vendor_executes_system_violators attribute" into oc-dev am:
80cab7de
am:
7eac10c7
Change-Id: Idfebcf45797a9feed9fb529a104d0b7e40e5ec28
parents
66e27bf5
7eac10c7
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/attributes
+5
-0
5 additions, 0 deletions
public/attributes
public/domain.te
+12
-14
12 additions, 14 deletions
public/domain.te
with
17 additions
and
14 deletions
public/attributes
+
5
−
0
View file @
52b73858
...
...
@@ -141,6 +141,11 @@ attribute binder_in_vendor_violators;
# TODO(b/36577153): Remove this once there are no violations
attribute socket_between_core_and_vendor_violators;
# All vendor domains which violate the requirement of not executing
# system processes
# TODO(b/36463595)
attribute vendor_executes_system_violators;
# All HAL servers
attribute halserverdomain;
# All HAL clients
...
...
This diff is collapsed.
Click to expand it.
public/domain.te
+
12
−
14
View file @
52b73858
...
...
@@ -680,20 +680,18 @@ full_treble_only(`
# Do not allow vendor components to execute files from system
# except for the ones whitelist here.
# TODO:(b/36463595) Make this a neverallow
userdebug_or_eng(`
auditallow {
domain
-coredomain
-appdomain
-rild
} {
exec_type
-vendor_file_type
-crash_dump_exec
-netutils_wrapper_exec
}:file { entrypoint execute execute_no_trans };
')
neverallow {
domain
-coredomain
-appdomain
-rild
-vendor_executes_system_violators
} {
exec_type
-vendor_file_type
-crash_dump_exec
-netutils_wrapper_exec
}:file { entrypoint 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