feat(systemd): add initial version of all missing generator.
This commit is contained in:
parent
0d124065b9
commit
e247a3949e
13 changed files with 265 additions and 0 deletions
25
apparmor.d/groups/systemd/systemd-generator-run
Normal file
25
apparmor.d/groups/systemd/systemd-generator-run
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.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/systemd-common>
|
||||
|
||||
ptrace (read) peer=@{systemd},
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/etc/fstab r,
|
||||
|
||||
@{sys}/**/uevent r,
|
||||
|
||||
@{PROC}/@{pid}/cgroup r,
|
||||
|
||||
include if exists <local/systemd-generator-run>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue