rootdir: Update rc files

- Add fileownership as root:system with 0660
  permission for cpu_dma_latency dev node.
- Register audio service to system group to
  access cpu_dma_latency node.

Change-Id: Ib832634d74f488ece0879fb05781646b1f4ee7a1
Signed-off-by: DennySPb <dennyspb@gmail.com>
This commit is contained in:
Sachin Mohan Gadag 2019-03-20 12:50:37 +05:30 committed by Giammarco Senatore
parent 50d7c3e65e
commit 1f1f7eeea2
No known key found for this signature in database
GPG key ID: 661348FC1E144F04
2 changed files with 3 additions and 2 deletions

View file

@ -1144,8 +1144,8 @@ service vendor.audio-hal-2-0 /vendor/bin/hw/android.hardware.audio@2.0-service
class hal class hal
user audioserver user audioserver
# media gid needed for /dev/fm (radio) and for /data/misc/media (tee) # media gid needed for /dev/fm (radio) and for /data/misc/media (tee)
group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct oem_2901 wakelock group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct oem_2901 wakelock system
capabilities BLOCK_SUSPEND capabilities BLOCK_SUSPEND SYS_NICE
ioprio rt 4 ioprio rt 4
writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
# audioflinger restarts itself when it loses connection with the hal # audioflinger restarts itself when it loses connection with the hal

View file

@ -153,6 +153,7 @@ firmware_directories /vendor/firmware_mnt/image/
/dev/adsprpc-smd-secure 0644 system system /dev/adsprpc-smd-secure 0644 system system
/dev/system_health_monitor 0644 radio system /dev/system_health_monitor 0644 radio system
/dev/mdss_rotator 0664 system system /dev/mdss_rotator 0664 system system
/dev/cpu_dma_latency 0660 root system
#QDSS #QDSS
/dev/byte-cntr 0660 system oem_2902 /dev/byte-cntr 0660 system oem_2902