Skip to content
Snippets Groups Projects
Commit 115292ac authored by Daniel Cashman's avatar Daniel Cashman Committed by Android Git Automerger
Browse files

am 33edd308: Merge "neverallow PROT_EXEC stack or heap."

* commit '33edd308':
  neverallow PROT_EXEC stack or heap.
parents 6ddcb84d 33edd308
Branches
No related tags found
No related merge requests found
......@@ -414,6 +414,11 @@ neverallow domain {
-asec_public_file
}:file execmod;
# Do not allow making the stack or heap executable.
# We would also like to minimize execmem but it seems to be
# required by some device-specific service domains.
neverallow domain self:process { execstack execheap };
# TODO: prohibit non-zygote spawned processes from using shared libraries
# with text relocations. b/20013628 .
# neverallow { domain -appdomain } file_type:file execmod;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment