From 7f27a03bfe339253a9cc88532bf7257f68064d40 Mon Sep 17 00:00:00 2001 From: Demon Singur Date: Tue, 18 Dec 2018 14:56:46 +0100 Subject: shinano-common: Do not symlink sdcard legacy path Solves the following denial. denied { write } for pid=548 comm="init" name="storage" dev="rootfs" ino=15996 scontext=u:r:vendor_init:s0 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 Change-Id: If246f497bd8384f0fee81469d8d29dcb528d4d4e --- rootdir/etc/init.qcom.rc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index a178d9d..b2ce56f 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -34,9 +34,6 @@ on init write /sys/bus/msm_subsys/devices/subsys2/restart_level "RELATED" write /sys/bus/msm_subsys/devices/subsys3/restart_level "RELATED" - # for backwards compatibility - symlink /sdcard /storage/sdcard0 - chmod 0664 /proc/rdtag chown root system /proc/rdtag @@ -81,8 +78,6 @@ on fs write /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk 1 write /sys/module/lowmemorykiller/parameters/vmpressure_file_min 53059 - symlink /sdcard /storage/sdcard0 - # Start hvdcp to enable quck charge 2.0 in power off charge start hvdcp -- cgit v1.2.3