From 2b78290510063368d3fec86fdca5055a62e50f44 Mon Sep 17 00:00:00 2001 From: Demon Singur Date: Fri, 24 Jan 2020 18:09:36 +0200 Subject: [PATCH] msm8226-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 f9b4f21..0a96dda 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -44,10 +44,6 @@ on early-init chmod 0444 /proc/cmdline on init - # Support legacy paths - symlink /sdcard /mnt/sdcard - symlink /sdcard /storage/sdcard0 - write /proc/sys/vm/page-cluster 0 on fs