apparmor.d/apparmor.d/groups/apt/apt-helper
2023-12-09 11:39:10 +00:00

22 lines
No EOL
484 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{lib}/apt/apt-helper
profile apt-helper @{exec_path} {
include <abstractions/base>
include <abstractions/apt-common>
@{exec_path} mr,
@{bin}/nm-online rPx,
@{bin}/systemctl rPx -> child-systemctl,
owner @{PROC}/@{pid}/fd/ r,
include if exists <local/apt-helper>
}