mandb: add path for arch.

This commit is contained in:
Alexandre Pujol 2021-04-01 23:59:16 +01:00
parent c35f793ba1
commit 1632b6c1b4
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

View File

@ -1,5 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2020-2021 Mikhail Morfikov
# 2021 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -14,18 +15,19 @@ profile mandb @{exec_path} flags=(complain) {
@{exec_path} mr,
/etc/man_db.conf r,
/etc/manpath.config r,
/var/cache/man/ r,
/var/cache/man/** rwk,
/usr/share/man/ r,
/usr/share/man/** r,
/usr/share/man/{,**} r,
/usr/local/man/{,**} r,
/usr/{,/share}/man/{,**} r,
/usr/local/{,/share/}/man/{,**} r,
/usr/share/*/man/man[0-9]*/*.[0-9]*.gz r,
/usr/local/share/man/ r,
/usr/local/share/man/** r,
include if exists <local/mandb>
}