summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2020-02-21 21:06:49 +0100
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 00:49:34 +0300
commitd5763c2d21d287417856a080e67d6f391effb790 (patch)
treee94576b391663c093b38156307a5bff35a1e0dbb /rootdir
parentc61ad40914bd6040877cb8ee3789c76bd893f607 (diff)
sdm660-common: sepolicy: Address some denials
Change-Id: Iaba642838e51a2c39c2961e30456148f9794f60e
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/etc/init.qcom.rc24
1 files changed, 12 insertions, 12 deletions
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 "