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