feat(profile): add a few small profile needed by fsp.
This commit is contained in:
parent
1aa0142a6a
commit
d5a65ba831
4 changed files with 77 additions and 0 deletions
19
apparmor.d/profiles-s-z/u-d-c-print-pci-ids
Normal file
19
apparmor.d/profiles-s-z/u-d-c-print-pci-ids
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2025 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/4.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{sbin}/u-d-c-print-pci-ids
|
||||
profile u-d-c-print-pci-ids @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
@{sh_path} r,
|
||||
|
||||
include if exists <local/u-d-c-print-pci-ids>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
21
apparmor.d/profiles-s-z/udev-bridge-network-interface
Normal file
21
apparmor.d/profiles-s-z/udev-bridge-network-interface
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2025 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/4.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{lib}/udev/bridge-network-interface
|
||||
profile udev-bridge-network-interface @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
@{sh_path} r,
|
||||
|
||||
/etc/default/bridge-utils r,
|
||||
|
||||
include if exists <local/udev-bridge-network-interface>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
Loading…
Add table
Add a link
Reference in a new issue