sdm660-common: rootdir: ueventd: Add support for MEM-BUF VMs

The char devices under /dev/mem_buf_vm each represent a
Virtual Machine to which HLOS can transfer or share memory
using an ioctl.

Change-Id: If3546148204e3b1c389975d3ec9aabd265b03012
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Patrick Daly 2020-12-16 19:09:41 -08:00 committed by pix106
parent 0db7144732
commit 7e95f80cb9

View file

@ -1,4 +1,4 @@
# Copyright (c) 2012-2015, 2017-2020, The Linux Foundation. All rights reserved.
# Copyright (c) 2012-2015, 2017-2021, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@ -34,6 +34,10 @@ subsystem dma_heap
devname uevent_devpath
dirname /dev/dma_heap
subsystem mem_buf_vm
devname uevent_devpath
dirname /dev/mem_buf_vm
# the DIAG device node is not world writable/readable.
/dev/diag 0660 system oem_2901
/dev/mhi_*_pipe_4 0660 system system
@ -46,6 +50,7 @@ subsystem dma_heap
/dev/kgsl-2d1 0666 root root
/dev/ion 0664 system system
/dev/membuf 0664 system system
/dev/mem_buf_vm/* 0660 system system
/dev/dma_heap/* 0664 system system
/dev/rtc0 0660 system system
/dev/smd0 0660 system system