summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormcampbellsmith <mcampbellsmith@gmail.com>2013-12-14 22:04:54 +1100
committermcampbellsmith <mcampbellsmith@gmail.com>2013-12-14 22:04:54 +1100
commit56e9073c2f5b54277bf7269ad6aa5f1c872daad2 (patch)
treea23dad90f80c18a45f139770e2eca1f4abcfb69a
parent2d598cf590461156ad5572fb35acbd78590060c1 (diff)
downloaddevice_samsung_i9305-56e9073c2f5b54277bf7269ad6aa5f1c872daad2.zip
device_samsung_i9305-56e9073c2f5b54277bf7269ad6aa5f1c872daad2.tar.gz
device_samsung_i9305-56e9073c2f5b54277bf7269ad6aa5f1c872daad2.tar.bz2
i9305: fix SELinux labels for /tombstones
Change-Id: Ibddc6cd099645b2e20699ba3b8b4f29b6629144c
-rw-r--r--rootdir/init.target.rc7
-rw-r--r--selinux/file_contexts3
2 files changed, 9 insertions, 1 deletions
diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc
index f0eeac4..dbbc773 100644
--- a/rootdir/init.target.rc
+++ b/rootdir/init.target.rc
@@ -49,6 +49,13 @@ on post-fs-data
restorecon /efs/FactoryApp/serial_no
restorecon /efs/imei/mps_code.dat
restorecon /efs/wifi/.mac.info
+ restorecon /tombstones
+ restorecon /tombstones/qcks
+ restorecon /tombstones/qcks/acdb.bin
+ restorecon /tombstones/qcks/efs1.bin
+ restorecon /tombstones/qcks/efs2.bin
+ restorecon /tombstones/qcks/efs3.bin
+ restorecon /tombstones/qcks/temp.dump
# for AT distributor
chown system radio /sys/module/cpuidle_exynos4/parameters/enable_mask
diff --git a/selinux/file_contexts b/selinux/file_contexts
index fb1996e..8fbf038 100644
--- a/selinux/file_contexts
+++ b/selinux/file_contexts
@@ -32,8 +32,9 @@
/system/vendor/firmware/mfc_fw.bin u:object_r:firmware_mfc:s0
/system/vendor/firmware/fimc_is_fw.bin u:object_r:firmware_camera:s0
/data/cfw(/.*)? u:object_r:firmware_camera:s0
+/tombstones u:object_r:system_data_file:s0
+/tombstones(/.*)? u:object_r:tombstone_data_file:s0
/tombstones/qcks(/.*)? u:object_r:kickstart_data_file:s0
-/tombstones(/.*)? u:object_r:tombstone_data_file:s0
# Vibrator
/dev/tspdrv u:object_r:input_device:s0