apparmor.d/apparmor.d/profiles-a-f/df

29 lines
545 B
Text
Raw Normal View History

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2019-2021 Mikhail Morfikov
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
# 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} = @{bin}/df
profile df @{exec_path} {
2020-12-10 22:33:39 +01:00
include <abstractions/base>
include <abstractions/consoles>
capability dac_read_search,
@{exec_path} mr,
2021-01-10 16:35:07 +01:00
/usr/share/icons/*/index.theme r,
# For dir stats
/ r,
/**/ r,
2023-03-10 11:20:48 +01:00
owner @{PROC}/@{pid}/mountinfo r,
2020-12-10 22:33:39 +01:00
include if exists <local/df>
}