28 lines
No EOL
624 B
Text
28 lines
No EOL
624 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{lib}/systemd/systemd-portabled
|
|
profile systemd-portabled @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/systemd-common>
|
|
|
|
capability sys_ptrace,
|
|
|
|
ptrace (read) peer=unconfined,
|
|
|
|
@{exec_path} mr,
|
|
|
|
/var/lib/portables/{,**} rw,
|
|
|
|
@{PROC}/1/environ r,
|
|
@{PROC}/cmdline r,
|
|
@{PROC}/sys/kernel/osrelease r,
|
|
@{PROC}/sys/kernel/random/boot_id r,
|
|
|
|
include if exists <local/systemd-portabled>
|
|
} |