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
27743c0f
Commit
27743c0f
authored
9 years ago
by
Nick Kralevich
Committed by
android-build-merger
9 years ago
Browse files
Options
Downloads
Plain Diff
Update text relocation neverallow assertions am:
89424bf9
am:
984b0030
* commit '
984b0030
': Update text relocation neverallow assertions
parents
45166431
984b0030
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
domain.te
+2
-3
2 additions, 3 deletions
domain.te
with
2 additions
and
3 deletions
domain.te
+
2
−
3
View file @
27743c0f
...
@@ -417,7 +417,6 @@ neverallow { domain userdebug_or_eng(`-dumpstate -shell -su') } su_exec:file no_
...
@@ -417,7 +417,6 @@ neverallow { domain userdebug_or_eng(`-dumpstate -shell -su') } su_exec:file no_
# which, long term, need to go away.
# which, long term, need to go away.
neverallow domain {
neverallow domain {
file_type
file_type
-system_file # needs to die. b/20013628
-system_data_file
-system_data_file
-apk_data_file
-apk_data_file
-app_data_file
-app_data_file
...
@@ -429,9 +428,9 @@ neverallow domain {
...
@@ -429,9 +428,9 @@ neverallow domain {
# required by some device-specific service domains.
# required by some device-specific service domains.
neverallow domain self:process { execstack execheap };
neverallow domain self:process { execstack execheap };
#
TODO:
prohibit non-zygote spawned processes from using shared libraries
# prohibit non-zygote spawned processes from using shared libraries
# with text relocations. b/20013628 .
# with text relocations. b/20013628 .
#
neverallow { domain -appdomain } file_type:file execmod;
neverallow { domain -appdomain } file_type:file execmod;
neverallow { domain -init } proc:{ file dir } mounton;
neverallow { domain -init } proc:{ file 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