apparmor.d/apparmor.d/groups/ubuntu/list-oem-metapackages
2022-06-13 22:04:12 +01:00

32 lines
No EOL
818 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}lib/update-notifier/list-oem-metapackages
profile list-oem-metapackages @{exec_path} {
include <abstractions/base>
include <abstractions/python>
include <abstractions/openssl>
include <abstractions/apt-common>
@{exec_path} mr,
/{usr/,}bin/dpkg rPx,
/{usr/,}bin/ischroot rix,
/etc/machine-id r,
@{sys}/devices/ r,
@{sys}/devices/**/ r,
@{sys}/devices/**/modalias r,
owner @{PROC}/@{pid}/fd/ r,
@{PROC}/@{pids}/mountinfo r,
@{PROC}/filesystems r,
include if exists <local/list-oem-metapackages>
}