# apparmor.d - Full set of apparmor profiles # Copyright (C) 2015-2021 Mikhail Morfikov # SPDX-License-Identifier: GPL-2.0-only abi , include @{exec_path} = /{usr/,}lib/bluetooth/bluetoothd @{exec_path} += /usr/libexec/bluetooth/bluetoothd profile bluetoothd @{exec_path} { include # Needed for configuring HCI interfaces capability net_admin, capability net_bind_service, network bluetooth raw, network bluetooth seqpacket, network bluetooth stream, network alg seqpacket, network netlink raw, @{exec_path} mr, /{usr/,}lib/@{multiarch}/bluetooth/plugins/*.so mr, /etc/bluetooth/{,*.conf} r, /dev/uinput rw, /dev/rfkill rw, /dev/hidraw[0-9]* rw, @{run}/sdp rw, @{sys}/devices/virtual/dmi/id/chassis_type r, @{sys}/devices/platform/**/rfkill/**/name r, /var/lib/bluetooth/{,**} rw, include if exists }