Commit Graph

3 Commits

Author SHA1 Message Date
Ricardo Cerqueira
8994907baf selinux: When adding userdata labels, do cache too
Change-Id: I0c1ff737629474135767be7cfe2bfbea0513fa9e
2013-07-18 15:46:28 +01:00
Ricardo Cerqueira
b52874de53 selinux: Use a more reliable sentinel to flag /data labelling
/data/anr isn't present on all devices, /data/system is

Change-Id: Ifba71d073dc7b577911386cff316e8a19662cd0d
2013-07-18 15:41:06 +01:00
Ricardo Cerqueira
d2d1a7ffb1 Add SELinux filesystem relabeling to init
Since not all recoveries out there will support the OTA packages'
own labeling, check at boot if the system needs labels (and
apply them)

Change-Id: I58767977b90a78a12efe7bd9d713654eadf47e7a
2013-07-17 16:48:28 +01:00