25 lines
No EOL
579 B
Text
25 lines
No EOL
579 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-userwork
|
|
profile systemd-userwork @{exec_path} flags=(attach_disconnected) {
|
|
include <abstractions/base>
|
|
include <abstractions/nameservice-strict>
|
|
include <abstractions/systemd-common>
|
|
|
|
capability sys_resource,
|
|
|
|
@{exec_path} mr,
|
|
|
|
/etc/machine-id r,
|
|
/etc/shadow r,
|
|
|
|
@{run}/systemd/userdb/ r,
|
|
|
|
include if exists <local/systemd-userwork>
|
|
} |