diff options
author | padarshr <padarshr@codeaurora.org> | 2016-06-17 16:50:16 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-07-28 06:51:37 -0700 |
commit | c54e7f36f8cc02c926617ffa4974e2387bd79887 (patch) | |
tree | 3a0fa4b0baeb0ad46789b87abc0fa4fffecbb9e9 /msm8952 | |
parent | 6f069a192a7cb471df4f3a64abd1690be23a3c68 (diff) | |
download | android_device_qcom_sepolicy-c54e7f36f8cc02c926617ffa4974e2387bd79887.tar.gz android_device_qcom_sepolicy-c54e7f36f8cc02c926617ffa4974e2387bd79887.tar.bz2 android_device_qcom_sepolicy-c54e7f36f8cc02c926617ffa4974e2387bd79887.zip |
Add sepolicies for logdumpd module.
This change will add selinux rules to logdumpd module.
It allows logdumpd to read logd (to get logcat logs),
and write to 'logdump' partition.
Change-Id: I7be2cb1f663286dcb132c40d1109c28e09fda52d
Diffstat (limited to 'msm8952')
-rw-r--r-- | msm8952/file_contexts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/msm8952/file_contexts b/msm8952/file_contexts index 83618424..b03d222d 100644 --- a/msm8952/file_contexts +++ b/msm8952/file_contexts @@ -41,6 +41,7 @@ /dev/block/mmcblk0 u:object_r:root_block_device:s0 /dev/block/mmcblk0rpmb u:object_r:rpmb_device:s0 /dev/block/platform/soc.0/7824900.sdhci/by-name/config u:object_r:frp_block_device:s0 +/dev/block/platform/soc.0/7824900.sdhci/by-name/logdump u:object_r:logdump_partition:s0 #Using soc instead of soc.0 to make it compatable with 3.18 kernel @@ -54,3 +55,4 @@ /dev/block/platform/soc/7824900.sdhci/by-name/userdata u:object_r:userdata_block_device:s0 /dev/block/platform/soc/7824900.sdhci/by-name/dip u:object_r:dip_device:s0 /dev/block/platform/soc/7824900.sdhci/by-name/mdtp u:object_r:mdtp_device:s0 +/dev/block/platform/soc/7824900.sdhci/by-name/logdump u:object_r:logdump_partition:s0 |