From d5763c2d21d287417856a080e67d6f391effb790 Mon Sep 17 00:00:00 2001 From: Davide Garberi Date: Fri, 21 Feb 2020 21:06:49 +0100 Subject: sdm660-common: sepolicy: Address some denials Change-Id: Iaba642838e51a2c39c2961e30456148f9794f60e --- rootdir/etc/init.qcom.rc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'rootdir') diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index fe328dd..090beed 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -184,14 +184,14 @@ on boot chown wifi wifi /sys/class/net/bond0/bonding/queue_id # Allow access to emmc rawdump block partition and dload sysfs node - chown root system /dev/block/bootdevice/by-name/rawdump - chmod 0660 /dev/block/bootdevice/by-name/rawdump - chown root system /sys/kernel/dload/emmc_dload - chmod 0660 /sys/kernel/dload/emmc_dload - chown root system /dev/block/bootdevice/by-name/ramdump - chmod 0660 /dev/block/bootdevice/by-name/ramdump - chown root system /sys/kernel/dload/dload_mode - chmod 0660 /sys/kernel/dload/dload_mode + #chown root system /dev/block/bootdevice/by-name/rawdump + #chmod 0660 /dev/block/bootdevice/by-name/rawdump + #chown root system /sys/kernel/dload/emmc_dload + #chmod 0660 /sys/kernel/dload/emmc_dload + #chown root system /dev/block/bootdevice/by-name/ramdump + #chmod 0660 /dev/block/bootdevice/by-name/ramdump + #chown root system /sys/kernel/dload/dload_mode + #chmod 0660 /sys/kernel/dload/dload_mode chown system system /sys/class/backlight/panel0-backlight/brightness chown system system /sys/class/backlight/panel0-backlight/max_brightness @@ -453,11 +453,11 @@ on property:persist.vendor.ssr.enable_ramdumps=1 on property:persist.vendor.ssr.enable_ramdumps=0 write /sys/module/subsystem_restart/parameters/enable_ramdumps 0 -on property:persist.vendor.sys.rawdump_copy=1 - write /sys/kernel/dload/emmc_dload 1 +#on property:persist.vendor.sys.rawdump_copy=1 +# write /sys/kernel/dload/emmc_dload 1 -on property:persist.vendor.sys.rawdump_copy=0 - write /sys/kernel/dload/emmc_dload 0 +#on property:persist.vendor.sys.rawdump_copy=0 +# write /sys/kernel/dload/emmc_dload 0 on property:sys.boot_completed=1 write /dev/kmsg "Boot completed " -- cgit v1.2.3