mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
41 lines
1013 B
Plaintext
41 lines
1013 B
Plaintext
# 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} = /{usr/,}bin/obexautofs
|
|
profile obexautofs @{exec_path} {
|
|
include <abstractions/base>
|
|
|
|
network bluetooth seqpacket,
|
|
network bluetooth stream,
|
|
network bluetooth raw,
|
|
network netlink raw,
|
|
|
|
@{exec_path} mr,
|
|
|
|
/usr/bin/fusermount{,3} rPx,
|
|
|
|
owner @{HOME}/bluetooth/ r,
|
|
mount fstype=fuse.obexautofs -> @{HOME}/bluetooth/,
|
|
|
|
@{sys}/bus/ r,
|
|
@{sys}/class/ r,
|
|
@{sys}/bus/usb/devices/ r,
|
|
@{sys}/devices/pci[0-9]*/**/usb[0-9]/bConfigurationValue r,
|
|
@{sys}/devices/pci[0-9]*/**/usb[0-9]/**/bConfigurationValue r,
|
|
@{sys}/devices/pci[0-9]*/**/usb[0-9]/{uevent,busnum,devnum,speed,descriptors} r,
|
|
@{sys}/devices/pci[0-9]*/**/usb[0-9]/**/{uevent,busnum,devnum,speed,descriptors} r,
|
|
|
|
@{run}/udev/data/+usb:* r,
|
|
@{run}/udev/data/c189:* r,
|
|
|
|
/dev/bus/usb/ r,
|
|
/dev/fuse rw,
|
|
|
|
include if exists <local/obexautofs>
|
|
}
|