Commit fc5802d
authored
systemd: enable non-root access to /dev/dma_heap/system via dmaheap group (#1711)
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 not desirable from a
security or deployment perspective.
This PR introduces a dedicated dmaheap system group and adds a udev rule
that assigns /dev/dma_heap/system to this group with mode 0660. Services
that require DMA‑Heap access can be added to this group, enabling safe,
non‑root access while maintaining appropriate permission isolation.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