android_device_xiaomi_sdm66.../rootdir
Chris Goldsworthy 68e4339387 sdm660-common: rootdir: ueventd: Restrict permissions to DMA-BUF heap files to read-only
We currently set all heaps to have RWX permissions of 644. However,
libdmabufheap only opens the heap files as O_RDONLY. Reduce the
permissions to 444 accordingly.

Additionally, stop overriding the default permissions given to the
system, system-uncached and system-secure heaps (which all have RWX
perrmissions of 444).

Change-Id: Icc6159acc494ab169a6d04fd86732c1b126e7b15
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-03-26 11:56:34 +01:00
..
bin sdm660-common: rootdir: Update init.rc and init.sh 2022-03-26 11:56:34 +01:00
etc sdm660-common: rootdir: ueventd: Restrict permissions to DMA-BUF heap files to read-only 2022-03-26 11:56:34 +01:00
Android.mk sdm660-common: rootdir: Update init.rc and init.sh 2022-03-26 11:56:34 +01:00