34 lines
1,004 B
Text
34 lines
1,004 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# Copyright (C) 2024 Besanon <m231009ts@mailfence.com>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/lxqt-config-file-associations
|
|
profile lxqt-config-file-associations @{exec_path} flags=(complain) {
|
|
include <abstractions/base>
|
|
include <abstractions/gtk>
|
|
include <abstractions/video>
|
|
include <abstractions/lxqt>
|
|
include <abstractions/qt5-shader-cache>
|
|
include <abstractions/dbus-session-strict>
|
|
include <abstractions/dbus-accessibility-strict>
|
|
include <abstractions/gvfs-open>
|
|
|
|
@{exec_path} mr,
|
|
|
|
owner @{user_config_dirs}/lxqt/** rwkl -> @{user_config_dirs}/lxqt/#@{int},
|
|
owner @{user_config_dirs}/mimeapps* rwk,
|
|
owner @{user_config_dirs}/lxqt-* rwk,
|
|
|
|
owner /tmp/#@{int} rwk,
|
|
|
|
@{PROC}/sys/kernel/random/boot_id r,
|
|
|
|
/dev/tty rw,
|
|
|
|
include if exists <local/lxqt-config-file-associations>
|
|
}
|