diff options
author | Demon Singur <demonsingur@gmail.com> | 2018-09-20 12:25:31 +0000 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2018-09-25 15:22:21 +0200 |
commit | c23d0f16efdbea68b975f7c8cda2735d8642766f (patch) | |
tree | 53b0dc83a9b3b3a8286268f084f0e7de1da85ae6 | |
parent | 71caa7bb8bf08cfbc99f4ff06499666a12eba46f (diff) |
msm8996-common: rootdir: do not create /tombstones symlink
Solves the following denial.
denied { add_name } for comm="init" name="tombstones" scontext=u:r:vendor_init:s0 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=1
Change-Id: Iff7d85d6f13f8fa0efc4a594bfcefdbb9d8ee3ed
-rw-r--r-- | rootdir/etc/init.qcom.rc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index f3ad5ef..1cccb8b 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -34,8 +34,6 @@ on early-init chown root system /dev/kmsg chmod 0620 /dev/kmsg - symlink /data/tombstones /tombstones - # ZRAM setup write /sys/block/zram0/comp_algorithm lz4 write /proc/sys/vm/page-cluster 0 @@ -87,6 +85,12 @@ on post-fs-data mkdir /data/misc/stargate/calib_test 0770 system system mkdir /data/misc/stargate/database 0770 system system + # Create directories for tombstones + mkdir /data/tombstones/modem 0771 system system + mkdir /data/tombstones/lpass 0771 system system + mkdir /data/tombstones/wcnss 0771 system system + mkdir /data/tombstones/dsps 0771 system system + # Create directory for tftp mkdir /data/vendor/tombstones 0771 system system |