42 lines
No EOL
981 B
Text
42 lines
No EOL
981 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{lib}/DiscoverNotifier
|
|
profile DiscoverNotifier @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/graphics>
|
|
include <abstractions/kde-strict>
|
|
include <abstractions/nameservice-strict>
|
|
|
|
network inet dgram,
|
|
network inet6 dgram,
|
|
network netlink dgram,
|
|
|
|
@{exec_path} mr,
|
|
|
|
/usr/share/metainfo/{,**} r,
|
|
|
|
/etc/flatpak/remotes.d/ r,
|
|
|
|
/var/lib/flatpak/repo/{,**} r,
|
|
|
|
owner @{user_cache_dirs}/appstream/ r,
|
|
owner @{user_cache_dirs}/appstream/** r,
|
|
owner @{user_cache_dirs}/flatpak/{,**} rw,
|
|
owner @{user_cache_dirs}/icon-cache.kcache rw,
|
|
|
|
owner @{user_config_dirs}/PlasmaDiscoverUpdates r,
|
|
|
|
owner @{user_share_dirs}/flatpak/{,**} rw,
|
|
|
|
@{PROC}/sys/kernel/core_pattern r,
|
|
|
|
/dev/tty r,
|
|
|
|
include if exists <local/DiscoverNotifier>
|
|
} |