From 56e9073c2f5b54277bf7269ad6aa5f1c872daad2 Mon Sep 17 00:00:00 2001 From: mcampbellsmith Date: Sat, 14 Dec 2013 22:04:54 +1100 Subject: i9305: fix SELinux labels for /tombstones Change-Id: Ibddc6cd099645b2e20699ba3b8b4f29b6629144c --- rootdir/init.target.rc | 7 +++++++ selinux/file_contexts | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) 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 -- cgit v1.1