rosemary: rootdir: Elevate read permissions for mtk_cmdq and mdp_sync

Apparently on AOSP builds, these nodes when read by the hals
with O_RDONLY attribute, need an elevated read permission, which
is apparently unneeded on mtk builds/stock rom.

This fixes video playback/OMX

Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Change-Id: I7f358d0037de569a4eb038e5ac2a17b7651d307d
This commit is contained in:
Vaisakh Murali
2022-11-07 15:21:03 +03:00
committed by Matsvei Niaverau
parent e8ea3644fa
commit 0bed5f53a4

View File

@@ -457,11 +457,11 @@ on post-fs-data
setrlimit 8 -1 -1
# CMDQ
chmod 0640 /dev/mtk_cmdq
chmod 0644 /dev/mtk_cmdq
chown system system /dev/mtk_cmdq
# MDP SYNC
chmod 0640 /dev/mdp_sync
chmod 0644 /dev/mdp_sync
chown system system /dev/mdp_sync
#OFFLOAD SERVICE