summaryrefslogtreecommitdiff
path: root/libc/system_properties/contexts_split.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2020-07-28 10:56:12 -0700
committerTom Cherry <tomcherry@google.com>2020-07-28 10:56:12 -0700
commit15786e407fd9d22ec1c71ff922e5aa0d3c05a8ec (patch)
treee2bb61382101278c65233cb719720cf0e311a0f5 /libc/system_properties/contexts_split.cpp
parent9c6d60d073db079a87fbeb5de3e72ac12838a480 (diff)
Cleanup for #inclusivefixit.
Test: build Change-Id: Ib2f264feae69fbbda5fe1e1c315b6116ecf520fa
Diffstat (limited to 'libc/system_properties/contexts_split.cpp')
-rw-r--r--libc/system_properties/contexts_split.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/system_properties/contexts_split.cpp b/libc/system_properties/contexts_split.cpp
index 96b01a47c..ccb5bcd69 100644
--- a/libc/system_properties/contexts_split.cpp
+++ b/libc/system_properties/contexts_split.cpp
@@ -269,7 +269,7 @@ bool ContextsSplit::InitializeProperties() {
if (!InitializePropertiesFromFile("/system/etc/selinux/plat_property_contexts")) {
return false;
}
- // Don't check for failure here, so we always have a sane list of properties.
+ // Don't check for failure here, since we don't always have all of these partitions.
// E.g. In case of recovery, the vendor partition will not have mounted and we
// still need the system / platform properties to function.
if (access("/vendor/etc/selinux/vendor_property_contexts", R_OK) != -1) {