mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
abstractions: add nvidia profiles path & nvidia-xdriver.
From: https://github.com/roddhjav/apparmor.d
This commit is contained in:
parent
b67a265de0
commit
bae7ed797e
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
# configuration queries
|
||||
capability ipc_lock,
|
||||
|
||||
/etc/nvidia/nvidia-application-profiles* r,
|
||||
/usr/share/nvidia/nvidia-application-profiles* r,
|
||||
|
||||
# libvdpau config file for nvidia workarounds
|
||||
|
@ -29,9 +30,11 @@
|
|||
owner @{HOME}/.nv/ w,
|
||||
owner @{HOME}/.nv/GLCache/ rw,
|
||||
owner @{HOME}/.nv/GLCache/** rwk,
|
||||
owner @{HOME}/.nv/nvidia-application-profiles* r,
|
||||
owner @{PROC}/@{pid}/comm r, # somehwere in libnvidia-glcore.so
|
||||
|
||||
unix (send, receive) type=dgram peer=(addr="@nvidia[0-9a-f]*"),
|
||||
unix (send, receive) type=dgram peer=(addr="@var/run/nvidia-xdriver-*"),
|
||||
|
||||
# Include additions to the abstraction
|
||||
include if exists <abstractions/nvidia.d>
|
||||
|
|
Loading…
Add table
Reference in a new issue