30 lines
689 B
Text
30 lines
689 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021 Mikhail Morfikov
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{lib}/bluetooth/obexd
|
|
profile obexd @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/bus-system>
|
|
include <abstractions/bus-session>
|
|
include <abstractions/user-download-strict>
|
|
|
|
network bluetooth stream,
|
|
network bluetooth seqpacket,
|
|
|
|
# dbus: own bus=system name=org.bluez.obex
|
|
|
|
@{exec_path} mr,
|
|
|
|
owner @{user_cache_dirs}/ rw,
|
|
owner @{user_cache_dirs}/obexd/ rw,
|
|
owner @{user_cache_dirs}/obexd/* rw,
|
|
|
|
owner @{HOME}/bluetooth/* rw,
|
|
|
|
include if exists <local/obexd>
|
|
}
|