33 lines
896 B
Text
33 lines
896 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# 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} = @{lib}/{,telepathy/}mission-control-5
|
|
profile mission-control @{exec_path} flags=(attach_disconnected) {
|
|
include <abstractions/base>
|
|
include <abstractions/dconf-write>
|
|
include <abstractions/gschemas>
|
|
|
|
network netlink raw,
|
|
|
|
@{exec_path} mr,
|
|
|
|
/usr/share/telepathy/{,**} r,
|
|
|
|
owner @{user_share_dirs}/telepathy/ rw,
|
|
owner @{user_share_dirs}/telepathy/mission-control/ rw,
|
|
owner @{user_share_dirs}/telepathy/mission-control/*.cfg* rw,
|
|
|
|
owner @{user_config_dirs}/libaccounts-glib/accounts.db{,-shm,-wal} rwk,
|
|
owner @{user_cache_dirs}/.mc_connections rw,
|
|
|
|
@{att}/@{run}/systemd/inhibit/@{int}.ref rw,
|
|
|
|
include if exists <local/mission-control>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|