Skip to content
Snippets Groups Projects
Commit 984b0030 authored by Nick Kralevich's avatar Nick Kralevich Committed by android-build-merger
Browse files

Update text relocation neverallow assertions

am: 89424bf9

* commit '89424bf9':
  Update text relocation neverallow assertions
parents 5a3132bb 89424bf9
No related branches found
No related tags found
No related merge requests found
......@@ -417,7 +417,6 @@ neverallow { domain userdebug_or_eng(`-dumpstate -shell -su') } su_exec:file no_
# which, long term, need to go away.
neverallow domain {
file_type
-system_file # needs to die. b/20013628
-system_data_file
-apk_data_file
-app_data_file
......@@ -429,9 +428,9 @@ neverallow domain {
# required by some device-specific service domains.
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 .
# neverallow { domain -appdomain } file_type:file execmod;
neverallow { domain -appdomain } file_type:file execmod;
neverallow { domain -init } proc:{ file dir } mounton;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment