mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-06 10:15:08 +01:00
37 lines
813 B
Text
37 lines
813 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2019-2021 Mikhail Morfikov
|
|
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = /{usr/,}bin/pactl
|
|
profile pactl @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/audio>
|
|
include <abstractions/consoles>
|
|
|
|
@{exec_path} mr,
|
|
|
|
/app/lib/libzypak*.so* mr,
|
|
|
|
/var/lib/dbus/machine-id r,
|
|
/etc/machine-id r,
|
|
|
|
/var/lib/gdm/.config/pulse/cookie rk,
|
|
|
|
owner @{HOME}/.Xauthority r,
|
|
|
|
owner @{user_config_dirs}/pulse/ rw,
|
|
|
|
# file_inherit
|
|
owner /dev/tty[0-9]* rw,
|
|
owner @{HOME}/.xsession-errors w,
|
|
owner @{HOME}/.anyRemote/anyremote.stdout w,
|
|
|
|
deny @{user_share_dirs}/gvfs-metadata/* r,
|
|
|
|
include if exists <local/pactl>
|
|
}
|