mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
feat(abs): add a new dri abstaction.
This commit is contained in:
parent
4032ead9b4
commit
c3d9c9ea48
34
apparmor.d/abstractions/dri
Normal file
34
apparmor.d/abstractions/dri
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
# The Direct Rendering Infrastructure (DRI) is the framework comprising the modern
|
||||||
|
# Linux graphics stack which allows unprivileged user-space programs to issue
|
||||||
|
# commands to graphics hardware without conflicting with other programs.
|
||||||
|
|
||||||
|
@{lib}/dri/** mr,
|
||||||
|
@{lib}/@{multiarch}/dri/** mr,
|
||||||
|
@{lib}/fglrx/dri/** mr,
|
||||||
|
|
||||||
|
/usr/share/drirc.d/ r,
|
||||||
|
/usr/share/drirc.d/*.conf r,
|
||||||
|
|
||||||
|
/etc/drirc r,
|
||||||
|
|
||||||
|
@{sys}/devices/@{pci}/class r,
|
||||||
|
@{sys}/devices/@{pci}/config r,
|
||||||
|
@{sys}/devices/@{pci}/device r,
|
||||||
|
@{sys}/devices/@{pci}/irq r,
|
||||||
|
@{sys}/devices/@{pci}/resource r,
|
||||||
|
@{sys}/devices/@{pci}/revision r,
|
||||||
|
@{sys}/devices/@{pci}/subsystem_device r,
|
||||||
|
@{sys}/devices/@{pci}/subsystem_vendor r,
|
||||||
|
@{sys}/devices/@{pci}/uevent r,
|
||||||
|
@{sys}/devices/@{pci}/vendor r,
|
||||||
|
|
||||||
|
/dev/dri/ r,
|
||||||
|
/dev/dri/card@{int} rw,
|
||||||
|
/dev/dri/renderD128 rw,
|
||||||
|
/dev/dri/renderD129 rw,
|
||||||
|
|
||||||
|
include if exists <abstractions/dri.d>
|
Loading…
Reference in New Issue
Block a user