Skip to content

Commit

Permalink
Use * wildcard for nvgpu/igpu node apparmor profiles
Browse files Browse the repository at this point in the history
Instead of just granting apparmor permissions to igpu 0 to 9, use a
wildcard to grant permissions going beyond 9.

Signed-off-by: Sebastian Weyer <[email protected]>
  • Loading branch information
DocSepp committed Oct 3, 2024
1 parent a5d302d commit f8a3fae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions interfaces/builtin/opengl.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ unix (bind,listen) type=seqpacket addr="@cuda-uvmfd-[0-9a-f]*",
/run/nvidia-xdriver-* rw,
unix (send, receive) type=dgram peer=(addr="@var/run/nvidia-xdriver-*"),
/dev/nvgpu/igpu[0-9]/power rw,
/dev/nvgpu/igpu[0-9]/ctrl rw,
/dev/nvgpu/igpu[0-9]/prof rw,
/dev/nvgpu/igpu[0-9]*/power rw,
/dev/nvgpu/igpu[0-9]*/ctrl rw,
/dev/nvgpu/igpu[0-9]*/prof rw,
/dev/host1x-fence rw,
`

Expand Down

0 comments on commit f8a3fae

Please sign in to comment.