Sfoglia il codice sorgente

sm8450-common: rootdir: init: remove getprop commands for fixing avc denials

remove logic from init scripts where getprop is used,
causing avc denials. Removed logic is not applicable
to current targets using this.

Change-Id: Ib783c6b2c341da59d24b8f4626e0461e1fbbdd0d
Naman Jain 3 anni fa
parent
commit
4abfd2ac85
1 ha cambiato i file con 0 aggiunte e 53 eliminazioni
  1. 0 53
      rootdir/bin/init.qcom.class_core.sh

+ 0 - 53
rootdir/bin/init.qcom.class_core.sh

@@ -145,59 +145,6 @@ init_DMM()
     esac
 }
 
-#
-# For controlling console and shell on console on 8960 - perist.serial.enable 8960
-# On other target use default ro.debuggable property.
-#
-serial=`getprop persist.serial.enable`
-dserial=`getprop ro.debuggable`
-case "$target" in
-    "msm8960")
-        case "$serial" in
-            "0")
-                echo 0 > /sys/devices/platform/msm_serial_hsl.0/console
-                ;;
-            "1")
-                echo 1 > /sys/devices/platform/msm_serial_hsl.0/console
-                start console
-                ;;
-            *)
-                case "$dserial" in
-                     "1")
-                         start console
-                         ;;
-                esac
-                ;;
-        esac
-        ;;
-
-    "msm8610" | "msm8974" | "msm8226")
-	case "$serial" in
-	     "0")
-		echo 0 > /sys/devices/f991f000.serial/console
-		;;
-	     "1")
-		echo 1 > /sys/devices/f991f000.serial/console
-		start console
-		;;
-            *)
-		case "$dserial" in
-                     "1")
-			start console
-			;;
-		esac
-		;;
-	esac
-	;;
-    *)
-        case "$dserial" in
-            "1")
-                start console
-                ;;
-        esac
-        ;;
-esac
-
 case "$target" in
     "msm7630_surf" | "msm7630_1x" | "msm7630_fusion")
         insmod /system/lib/modules/ss_mfcinit.ko