summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeremy Condra <gcondra@google.com>2014-03-18 17:28:35 -0700
committerGeremy Condra <gcondra@google.com>2014-03-18 20:35:15 -0700
commit0621d702a12c5f6d3f89452d3ffc01d8bd8d1e69 (patch)
treef0f2dd66b35edb73b77f4b4560e0b928ba1c633b
parent05699b3e3e05b976a3de50a634b18a6f5109cf95 (diff)
downloadsystem_core-0621d702a12c5f6d3f89452d3ffc01d8bd8d1e69.zip
system_core-0621d702a12c5f6d3f89452d3ffc01d8bd8d1e69.tar.gz
system_core-0621d702a12c5f6d3f89452d3ffc01d8bd8d1e69.tar.bz2
init: Add "partition.*.verified" properties to the property service.
These are intended to be used by the rest of the system as weak indicators that the corresponding partition is verified. For instance, if the "partition.system.verified" property is set then using `adb remount` would be unwise. These should not be used as the basis for security decisions. Change-Id: Ibea4c13abd54f46537e2a406774412c25918b24d
-rw-r--r--init/property_service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/property_service.c b/init/property_service.c
index 4af0c17..987e1ee 100644
--- a/init/property_service.c
+++ b/init/property_service.c
@@ -97,6 +97,7 @@ struct {
{ "persist.gps.", AID_GPS, 0 },
{ "persist.service.bdroid.", AID_BLUETOOTH, 0 },
{ "selinux." , AID_SYSTEM, 0 },
+ { "partition." , AID_SYSTEM, 0},
{ NULL, 0, 0 }
};