43 lines
904 B
Text
43 lines
904 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2019-2021 Mikhail Morfikov
|
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/4.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/lxappearance
|
|
profile lxappearance @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/desktop>
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{bin}/dbus-launch Cx -> bus,
|
|
@{bin}/dbus-send Cx -> bus,
|
|
|
|
/usr/share/lxappearance/{,**} r,
|
|
|
|
/etc/fstab r,
|
|
|
|
/etc/machine-id r,
|
|
/var/lib/dbus/machine-id r,
|
|
|
|
owner @{PROC}/@{pid}/fd/ r,
|
|
owner @{PROC}/@{pid}/mountinfo r,
|
|
owner @{PROC}/@{pid}/mounts r,
|
|
|
|
owner /dev/tty@{int} rw,
|
|
|
|
profile bus {
|
|
include <abstractions/base>
|
|
include <abstractions/app/bus>
|
|
|
|
include if exists <local/lxappearance_bus>
|
|
}
|
|
|
|
include if exists <local/lxappearance>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|