27 lines
605 B
Text
27 lines
605 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/4.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{lib}/systemd/system-generators/systemd-run-generator
|
|
profile systemd-generator-run @{exec_path} flags=(attach_disconnected) {
|
|
include <abstractions/base>
|
|
include <abstractions/common/systemd>
|
|
|
|
ptrace (read) peer=@{p_systemd},
|
|
|
|
@{exec_path} mr,
|
|
|
|
/etc/fstab r,
|
|
|
|
@{sys}/**/uevent r,
|
|
|
|
@{PROC}/@{pid}/cgroup r,
|
|
|
|
include if exists <local/systemd-generator-run>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|