sm8450-common: rootdir: ueventd: set permissions to rawdump node
move permission setting logic from init rc file to ueventd rc file. Change-Id: Ifbb555affd9200eb3d2fb3e405fc81a266df9f5e
This commit is contained in:
parent
cc837a6545
commit
e6e7537915
2 changed files with 3 additions and 3 deletions
|
@ -163,9 +163,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
|
||||
|
|
|
@ -366,6 +366,8 @@ 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
|
||||
|
||||
# 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 a new issue