feat(profiles): add systemd-id128.

This commit is contained in:
Alexandre Pujol 2022-10-01 18:46:32 +01:00
parent 4681a495b3
commit 7c3fcf260c
Failed to generate hash of commit
2 changed files with 21 additions and 0 deletions

View 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>
}

View file

@ -171,6 +171,7 @@ systemd-environment-d-generator complain
systemd-escape complain systemd-escape complain
systemd-hostnamed attach_disconnected,complain systemd-hostnamed attach_disconnected,complain
systemd-hwdb attach_disconnected,complain systemd-hwdb attach_disconnected,complain
systemd-id128 complain
systemd-localed attach_disconnected,complain systemd-localed attach_disconnected,complain
systemd-logind attach_disconnected,complain systemd-logind attach_disconnected,complain
systemd-machine-id-setup complain systemd-machine-id-setup complain