update apparmor profiles

This commit is contained in:
Mikhail Morfikov 2021-02-13 15:00:16 +01:00
parent 8e075d25fa
commit 0f64093e46
No known key found for this signature in database
GPG key ID: 32D9CB634796CCA1
96 changed files with 645 additions and 240 deletions

View file

@ -36,7 +36,11 @@ profile adequate @{exec_path} flags=(complain) {
/{usr/,}bin/pkg-config rCx -> pkg-config,
/{usr/,}bin/dpkg rPx -> child-dpkg,
/{usr/,}bin/dpkg-query rPx,
# Do not strip env to avoid errors like the following:
# ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open
# shared object file): ignored.
/{usr/,}bin/dpkg-query rpx,
#
/{usr/,}bin/update-alternatives rPx,
/var/lib/adequate/pending rwk,