Add neverallow for mounting on proc

Change-Id: Ie19ac00f2e96836667e8a5c18fafeaf6b6eadb25
This commit is contained in:
dcashman 2015-04-14 11:21:46 -07:00
parent dd156fc377
commit e96c3abe2e

View file

@ -397,3 +397,5 @@ neverallow domain {
# TODO: prohibit non-zygote spawned processes from using shared libraries
# with text relocations. b/20013628 .
# neverallow { domain -appdomain } file_type:file execmod;
neverallow { domain -init } proc:{ file dir } mounton;