# apparmor.d - Full set of apparmor profiles # Copyright (C) 2025 Alexandre Pujol # SPDX-License-Identifier: GPL-2.0-only abi , include @{exec_path} = @{bin}/dpkg-maintscript-helper profile dpkg-maintscript-helper @{exec_path} { include include @{exec_path} mr, @{sh_path} rix, @{bin}/basename rix, @{bin}/dpkg rCx -> dpkg, /usr/share/dpkg/sh/* r, profile dpkg { include include include capability dac_read_search, @{bin}/dpkg mr, @{bin}/dpkg-query rpx, /etc/dpkg/dpkg.cfg r, /etc/dpkg/dpkg.cfg.d/{,*} r, include if exists } include if exists } # vim:syntax=apparmor