# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023-2024 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.

  abi <abi/4.0>,

  include <abstractions/dev/dri>
  include <abstractions/sys/dri>
  include <abstractions/udev/dri>

  @{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,

  include if exists <abstractions/dri.d>

# vim:syntax=apparmor
