apparmor.d/apparmor.d/groups/ubuntu/apport-checkreports
2022-06-03 20:13:11 +01:00

30 lines
No EOL
687 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/share/apport/apport-checkreports
profile apport-checkreports @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
include <abstractions/openssl>
include <abstractions/python>
@{exec_path} mr,
/{usr/,}bin/python3.[0-9]* r,
/usr/share/dpkg/cputable r,
/usr/share/dpkg/tupletable r,
/usr/share/apport/ r,
/etc/apt/apt.conf.d/{,**} r,
/etc/default/apport r,
/var/crash/ r,
include if exists <local/apport-checkreports>
}