39 lines
No EOL
879 B
Text
39 lines
No EOL
879 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021-2024 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 chown,
|
|
capability dac_override,
|
|
capability dac_read_search,
|
|
capability fowner,
|
|
capability fsetid,
|
|
capability kill,
|
|
capability mknod,
|
|
capability setgid,
|
|
capability sys_admin,
|
|
capability sys_chroot,
|
|
capability sys_ptrace,
|
|
|
|
network inet stream,
|
|
network inet6 stream,
|
|
network inet dgram,
|
|
network inet6 dgram,
|
|
network netlink raw,
|
|
|
|
#aa:dbus own bus=system name=org.freedesktop.portable1
|
|
|
|
@{exec_path} mr,
|
|
|
|
/var/lib/portables/{,**} rw,
|
|
|
|
include if exists <local/systemd-portabled>
|
|
} |