mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 17:08:09 +01:00
fix(profiles): fix some abstraction definitions.
This commit is contained in:
parent
393e339b48
commit
56afb90084
3 changed files with 11 additions and 18 deletions
|
@ -2,7 +2,9 @@
|
||||||
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
unix (bind, listen) type=stream addr="@/tmp/dbus-*",
|
unix (connect, send, receive, accept)
|
||||||
|
type=stream
|
||||||
|
addr="@/tmp/dbus-*",
|
||||||
|
|
||||||
unix (connect, receive, send, accept)
|
unix (connect, receive, send, accept)
|
||||||
type=stream
|
type=stream
|
||||||
|
|
|
@ -86,15 +86,13 @@
|
||||||
# changes, it's better to allow the whole range (240-254) instead of the single major numbers
|
# changes, it's better to allow the whole range (240-254) instead of the single major numbers
|
||||||
# visible in the /proc/devices file.
|
# visible in the /proc/devices file.
|
||||||
# [1]: https://raw.githubusercontent.com/torvalds/linux/master/Documentation/admin-guide/devices.txt
|
# [1]: https://raw.githubusercontent.com/torvalds/linux/master/Documentation/admin-guide/devices.txt
|
||||||
@{run}/udev/data/b252:[0-9]* r,
|
@{run}/udev/data/b24[0-9]:[0-9]* r,
|
||||||
@{run}/udev/data/b253:[0-9]* r,
|
@{run}/udev/data/b25[0-4]:[0-9]* r,
|
||||||
@{run}/udev/data/b259:[0-9]* r,
|
@{run}/udev/data/b259:[0-9]* r,
|
||||||
@{run}/udev/data/c24[0-9]:[0-9]* r,
|
|
||||||
@{run}/udev/data/c25[0-4]:[0-9]* r,
|
|
||||||
|
|
||||||
@{run}/udev/data/b230:[0-9]* r, # /dev/zvol*
|
|
||||||
@{run}/udev/data/b11:[0-9]* r, # for /dev/sr*
|
@{run}/udev/data/b11:[0-9]* r, # for /dev/sr*
|
||||||
@{run}/udev/data/b179:[0-9]* r, # for /dev/mmcblk*
|
@{run}/udev/data/b179:[0-9]* r, # for /dev/mmcblk*
|
||||||
|
@{run}/udev/data/b230:[0-9]* r, # for /dev/zvol*
|
||||||
@{run}/udev/data/b7:[0-9]* r, # for /dev/loop*
|
@{run}/udev/data/b7:[0-9]* r, # for /dev/loop*
|
||||||
@{run}/udev/data/b8:[0-9]* r, # for /dev/sd*
|
@{run}/udev/data/b8:[0-9]* r, # for /dev/sd*
|
||||||
|
|
||||||
|
|
|
@ -68,23 +68,16 @@
|
||||||
# changes, it's better to allow the whole range (240-254) instead of the single major numbers
|
# changes, it's better to allow the whole range (240-254) instead of the single major numbers
|
||||||
# visible in the /proc/devices file.
|
# visible in the /proc/devices file.
|
||||||
# [1]: https://raw.githubusercontent.com/torvalds/linux/master/Documentation/admin-guide/devices.txt
|
# [1]: https://raw.githubusercontent.com/torvalds/linux/master/Documentation/admin-guide/devices.txt
|
||||||
@{run}/udev/data/b252:[0-9]* r,
|
@{run}/udev/data/b24[0-9]:[0-9]* r,
|
||||||
@{run}/udev/data/b253:[0-9]* r,
|
@{run}/udev/data/b25[0-4]:[0-9]* r,
|
||||||
@{run}/udev/data/b259:[0-9]* r,
|
@{run}/udev/data/b259:[0-9]* r,
|
||||||
@{run}/udev/data/c24[0-9]:[0-9]* r,
|
|
||||||
@{run}/udev/data/c25[0-4]:[0-9]* r,
|
|
||||||
|
|
||||||
@{run}/udev/data/b230:[0-9]* r, # /dev/zvol*
|
|
||||||
@{run}/udev/data/b11:[0-9]* r, # for /dev/sr*
|
@{run}/udev/data/b11:[0-9]* r, # for /dev/sr*
|
||||||
@{run}/udev/data/b179:[0-9]* r, # for /dev/mmcblk*
|
@{run}/udev/data/b179:[0-9]* r, # for /dev/mmcblk*
|
||||||
@{run}/udev/data/b7:[0-9]* r, # for /dev/loop*
|
|
||||||
@{run}/udev/data/b8:[0-9]* r, # for /dev/sd*
|
|
||||||
|
|
||||||
@{run}/udev/data/b179:[0-9]* r, # for /dev/mmcblk*
|
|
||||||
@{run}/udev/data/b11:[0-9]* r, # for /dev/sr*
|
|
||||||
@{run}/udev/data/b8:[0-9]* r, # for /dev/sd*
|
|
||||||
@{run}/udev/data/b7:[0-9]* r, # for /dev/loop*
|
|
||||||
@{run}/udev/data/b2:[0-9]* r, # for /dev/fd*
|
@{run}/udev/data/b2:[0-9]* r, # for /dev/fd*
|
||||||
|
@{run}/udev/data/b230:[0-9]* r, # for /dev/zvol*
|
||||||
|
@{run}/udev/data/b7:[0-9]* r, # for /dev/loop*
|
||||||
|
@{run}/udev/data/b8:[0-9]* r, # for /dev/sd*
|
||||||
|
|
||||||
@{run}/udev/data/c189:[0-9]* r, # for /dev/bus/usb/**
|
@{run}/udev/data/c189:[0-9]* r, # for /dev/bus/usb/**
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue