mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 08:58:15 +01:00
feat(profiles): add systemd-id128.
This commit is contained in:
parent
4681a495b3
commit
7c3fcf260c
2 changed files with 21 additions and 0 deletions
20
apparmor.d/groups/systemd/systemd-id128
Normal file
20
apparmor.d/groups/systemd/systemd-id128
Normal file
|
@ -0,0 +1,20 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}bin/systemd-id128
|
||||
profile systemd-id128 @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/etc/machine-id r,
|
||||
|
||||
@{PROC}/sys/kernel/random/boot_id r,
|
||||
|
||||
include if exists <local/systemd-id128>
|
||||
}
|
|
@ -171,6 +171,7 @@ systemd-environment-d-generator complain
|
|||
systemd-escape complain
|
||||
systemd-hostnamed attach_disconnected,complain
|
||||
systemd-hwdb attach_disconnected,complain
|
||||
systemd-id128 complain
|
||||
systemd-localed attach_disconnected,complain
|
||||
systemd-logind attach_disconnected,complain
|
||||
systemd-machine-id-setup complain
|
||||
|
|
Loading…
Reference in a new issue