Commit Graph

7 Commits

Author SHA1 Message Date
Ricardo Cerqueira
cae5f24530 selinuxrelabel: Remove attempts to relabel /system
These are a no-op due to the additional block-device protection from
e18c0d508a
so get rid of them entirely. Any installing recovery (or equivalent
installation process) should handle the labeling of system components
on its own.

Change-Id: I14c50f08efa6f05b03fad4fbc404219cc504e1ff
TBD: Do we still want to label unlabeled files?
2013-12-31 17:59:54 +00:00
mcampbellsmith
c4dcb16ca9 Recheck /data for selinux labeling
This simply adds checks for selinux labels for
files under /data/misc/wifi which were not labeled
correctly for some devices

Change-Id: Iaacf6db792aaea1485502b424d639a1212c5841b
2013-12-28 22:12:48 +11:00
Chirayu Desai
c7e9230614 selinuxrelabel: Add a check for dalvik-cache
Change-Id: Ic8087450756ae81458e155aa1ca22d5055547664
2013-12-07 20:55:29 +05:30
dhacker29
3013c99acb selinuxrelabel: Need to check in priv-app now
Change-Id: I67529c3b0f8baaac15fd475305eafd085feac112
2013-11-15 22:48:05 -06:00
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