summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorNikita Ioffe <ioffe@google.com>2020-06-22 17:47:23 +0100
committerNikita Ioffe <ioffe@google.com>2020-06-22 16:56:38 +0000
commitcf7b6bad55b3c41d8289852488eb4496a4524ba5 (patch)
treef5fcdd32664b62c809c8cc357f2ac7cf5c11b60c /libutils/Unicode.cpp
parent20d78e332348feccbb2e59d482b0049f3fca313c (diff)
Explicitly call restorecon_recursive on /metadata/apex
On some devices we see a weird in which /metadata/apex will have a wrong selinux label. This will effectively prevent such devices from getting any apex updates. Since we haven't figured out a root cause for this bug, it's safer to explicitly call restorecon on /metadata/apex to make sure it's correct. This change shouldn't affect a normal boot flow, since /metadata/apex will already have a correct label and restorecon_recursive will be a no-op. Test: rm -Rf /metadata/apex && \ mkdir /metadata/apex && mkdir /metadata/apex/sessions Bug: 149317789 Change-Id: I971ffe35c93bb79d9e71106c24515ec0ee70333a
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions