apparmor.d/profiles/blueman-rfcomm-watcher

25 lines
517 B
Text
Raw Normal View History

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021 Mikhail Morfikov
# SPDX-License-Identifier: GPL-2.0-only
2021-03-14 19:03:30 +01:00
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /usr/libexec/blueman-rfcomm-watcher
profile blueman-rfcomm-watcher @{exec_path} {
include <abstractions/base>
include <abstractions/python>
@{exec_path} r,
/{usr/,}bin/python3.[0-9]* r,
/usr/libexec/ r,
owner @{PROC}/@{pid}/mounts r,
owner @{HOME}/.Xauthority r,
include if exists <local/blueman-rfcomm-watcher>
}