Commit a2b9d6d
committed
systemd: allow non-root access to system dma-heap device
Non-root services such as camera-service and gstd cannot access
/dev/dma_heap/system because the device is created with restrictive
default permissions. This prevents these services from allocating
dma-heap buffers unless they run as root, which is undesirable.
To address this, introduce a dedicated 'dmaheap' system group and
provide a udev rule that assigns /dev/dma_heap/system to this group
with mode 0660. Services that require access can be assigned to this
group, allowing them to use the system dma-heap device without
requiring root privileges.
Signed-off-by: Murali Krishna Bellamkonda <murabell@qti.qualcomm.com>1 parent 8f9cf91 commit a2b9d6d
File tree
2 files changed
+17
-0
lines changed- recipes-core/systemd
- systemd
2 files changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments