# apparmor.d - Full set of apparmor profiles # Copyright (C) 2021-2024 Alexandre Pujol # SPDX-License-Identifier: GPL-2.0-only abi , include @{exec_path} = @{bin}/resolvconf profile resolvconf @{exec_path} { include include @{exec_path} mr, @{sh_path} rix, @{bin}/cat rix, @{bin}/cp rix, @{bin}/flock rix, @{bin}/mkdir rix, @{bin}/mv rix, @{bin}/readlink rix, @{bin}/rm rix, @{bin}/run-parts rix, @{bin}/sed rix, @{bin}/systemctl rCx -> systemctl, @{lib}/resolvconf/list-records rix, /usr/lib/resolvconf/{,**} r, @{etc_rw}/resolv.conf.bak rw, @{etc_rw}/resolv.conf rw, /etc/resolvconf.conf r, /etc/resolvconf/{,**} r, /etc/resolvconf/update.d/libc rix, / r, owner @{run}/resolvconf/{,**} rw, owner @{run}/resolvconf/run-lock wk, /dev/tty rw, profile systemctl { include include capability net_admin, capability sys_ptrace, include if exists } include if exists } # vim:syntax=apparmor