vendor: init: ueventd: set permissions to rawdump node
move permission setting logic from init rc file to ueventd rc file. Change-Id: Ifbb555affd9200eb3d2fb3e405fc81a266df9f5e Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
This commit is contained in:
parent
b4c372fc66
commit
2b5c9202c7
|
@ -201,9 +201,7 @@ on boot
|
|||
# bond0 used by FST Manager
|
||||
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
|
||||
# Allow access to dload sysfs node
|
||||
chown root system /sys/kernel/dload/emmc_dload
|
||||
chmod 0660 /sys/kernel/dload/emmc_dload
|
||||
chown root system /dev/block/bootdevice/by-name/ramdump
|
||||
|
|
|
@ -431,6 +431,9 @@ subsystem mem_buf_vm
|
|||
/dev/block/platform/soc/7c4000.sdhci/by-name/frp 0600 system system
|
||||
/dev/block/platform/soc/4744000.sdhci/by-name/frp 0600 system system
|
||||
/dev/block/platform/soc/4804000.ufshc/by-name/frp 0600 system system
|
||||
/dev/block/platform/soc/7c4000.sdhci/by-name/rawdump 0660 root system
|
||||
/dev/block/platform/soc/1d84000.ufshc/by-name/rawdump 0660 root system
|
||||
/dev/block/platform/soc/4804000.ufshc/by-name/rawdump 0600 root system
|
||||
|
||||
# This is temporary while using SD card for initial bring-up
|
||||
/dev/block/platform/soc/8804000.sdhci/by-name/frp 0600 system system
|
||||
|
|
Loading…
Reference in New Issue