mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-12 23:37:51 +01:00
53 lines
1.4 KiB
Text
53 lines
1.4 KiB
Text
# vim:syntax=apparmor
|
|
# ------------------------------------------------------------------
|
|
#
|
|
# Copyright (C) 2015-2020 Mikhail Morfikov
|
|
#
|
|
# This program is free software; you can redistribute it and/or
|
|
# modify it under the terms of version 2 of the GNU General Public
|
|
# License published by the Free Software Foundation.
|
|
#
|
|
# ------------------------------------------------------------------
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = /{usr/,}bin/volumeicon
|
|
profile volumeicon @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/X>
|
|
include <abstractions/gtk>
|
|
include <abstractions/fonts>
|
|
include <abstractions/fontconfig-cache-read>
|
|
include <abstractions/freedesktop.org>
|
|
include <abstractions/audio>
|
|
include <abstractions/dri-enumerate>
|
|
include <abstractions/mesa>
|
|
include <abstractions/nameservice-strict>
|
|
include <abstractions/wayland>
|
|
include <abstractions/deny-root-dir-access>
|
|
|
|
@{exec_path} mr,
|
|
|
|
# Volumeicon files
|
|
/usr/share/volumeicon/** r,
|
|
|
|
# Volumeicon config files
|
|
owner @{HOME}/.config/volumeicon/ rw,
|
|
owner @{HOME}/.config/volumeicon/volumeicon* rw,
|
|
|
|
/var/lib/dbus/machine-id r,
|
|
/etc/machine-id r,
|
|
|
|
/usr/share/glib-2.0/schemas/gschemas.compiled r,
|
|
|
|
# Start the PulseAudio sound mixer
|
|
/{usr/,}bin/{,ba,da}sh rix,
|
|
/{usr/,}bin/pavucontrol rPUx,
|
|
|
|
# file_inherit
|
|
owner /dev/tty[0-9]* rw,
|
|
|
|
include if exists <local/volumeicon>
|
|
}
|