apparmor.d/apparmor.d/profiles-a-f/df
Mikhail Morfikov 3430e3df90
update apparmor profiles
Signed-off-by: Alexandre Pujol <alexandre@pujol.io>
2021-12-12 13:18:41 +00:00

27 lines
487 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2019-2021 Mikhail Morfikov
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/df
profile df @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
capability dac_read_search,
@{exec_path} mr,
owner @{PROC}/@{pid}/mountinfo r,
/usr/share/icons/*/index.theme r,
# For dir stats
/ r,
/**/ r,
include if exists <local/df>
}