mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-28 16:06:54 +01:00
c1d531525a
Move vim syntax comment to the end of the file, separated by newline, as requested in #380.
27 lines
736 B
Text
27 lines
736 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021 Mikhail Morfikov
|
|
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
/dev/ r,
|
|
/dev/bus/usb/ r,
|
|
/dev/bus/usb/@{int}/ r,
|
|
/dev/bus/usb/@{int}/@{int} rwk,
|
|
|
|
@{sys}/class/ r,
|
|
@{sys}/class/usbmisc/ r,
|
|
|
|
@{sys}/bus/ r,
|
|
@{sys}/bus/usb/ r,
|
|
@{sys}/bus/usb/devices/{,**} r,
|
|
|
|
@{sys}/devices/**/usb@{int}/{,**} rw,
|
|
|
|
# Udev data about usb devices (~equal to content of lsusb -v)
|
|
@{run}/udev/data/+usb:* r,
|
|
@{run}/udev/data/c16[6,7]:@{int} r, # USB modems
|
|
@{run}/udev/data/c18[0,8,9]:@{int} r, # USB devices & USB serial converters
|
|
|
|
include if exists <abstractions/devices-usb.d>
|
|
|
|
# vim:syntax=apparmor
|