sdm660-common: rootdir: ueventd: Make all mem_buf VM files read-only for all

The mem_buf VM files under /dev/mem_buf_vm/ are only ever opened with
O_RDONLY permissions.  Additionally, processes not in the 'system'
group need to be able to open the mem_buf VM files.  Correspondingly,
make the permissions for all of these VM files 444.

Change-Id: Icfb2249c964ccc914db1c904274d9ff40d0f1535
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Chris Goldsworthy 2021-05-12 22:34:12 -07:00 committed by pix106
parent b55ad3db3f
commit d517c178e3

View file

@ -50,7 +50,7 @@ subsystem mem_buf_vm
/dev/kgsl-2d1 0666 root root
/dev/ion 0664 system system
/dev/membuf 0664 system system
/dev/mem_buf_vm/* 0660 system system
/dev/mem_buf_vm/* 0444 system system
/dev/dma_heap/qcom,* 0444 system system
/dev/rtc0 0660 system system
/dev/smd0 0660 system system