From 9d3d34ab7731d62b4232c8212e4d47a421d4b4e2 Mon Sep 17 00:00:00 2001 From: Demon Singur Date: Fri, 21 Sep 2018 11:11:36 +0000 Subject: [PATCH] msm8976-common: rootdir: 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 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index daa497c..54b3876 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -33,10 +33,6 @@ on early-init mount debugfs debugfs /sys/kernel/debug chmod 0755 /sys/kernel/debug -on init - # Support legacy paths - symlink /sdcard /storage/sdcard0 - on early-boot # Set RLIMIT_MEMLOCK to 64MB setrlimit 8 67108864 67108864