mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-07 01:41:00 +01:00

This patch modifies the nvidia abstraction to add the livdpau wrapper config file for nvidia workarounds. It also converts the /proc/ rules to use the @{PROC} tunable. And finally, it converts the ubuntu-browsers.d/multimedia abstraction to use the nvidia abstraction. Signed-off-by: Steve Beattie <sbeattie@ubuntu.com> Acked-By: Jamie Strandboge <jamie@canonical.com>
15 lines
301 B
Text
15 lines
301 B
Text
# vim:syntax=apparmor
|
|
# nvidia access requirements
|
|
|
|
# configuration queries
|
|
capability ipc_lock,
|
|
|
|
# libvdpau config file for nvidia workarounds
|
|
/etc/vdpau_wrapper.cfg r,
|
|
|
|
# device files
|
|
/dev/nvidia0 rw,
|
|
/dev/nvidiactl rw,
|
|
|
|
@{PROC}/interrupts r,
|
|
@{PROC}/sys/vm/max_map_count r,
|