apparmor.d/profiles/systemd-fsckd

26 lines
540 B
Text
Raw Normal View History

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2020-2021 Mikhail Morfikov
# SPDX-License-Identifier: GPL-2.0-only
2020-12-10 22:33:39 +01:00
abi <abi/3.0>,
2020-12-10 22:33:39 +01:00
include <tunables/global>
@{exec_path} = /{usr/,}lib/systemd/systemd-fsckd
2020-12-24 13:55:12 +01:00
profile systemd-fsckd @{exec_path} {
2020-12-10 22:33:39 +01:00
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/systemd-common>
capability sys_tty_config,
2020-12-24 13:55:12 +01:00
# Needed?
deny capability net_admin,
@{exec_path} mr,
2020-10-25 10:23:34 +01:00
owner @{run}/systemd/fsck.progress w,
2020-12-10 22:33:39 +01:00
include if exists <local/systemd-fsckd>
}