mandb: add path for arch.
This commit is contained in:
parent
c35f793ba1
commit
1632b6c1b4
1 changed files with 7 additions and 5 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
# apparmor.d - Full set of apparmor profiles
|
# apparmor.d - Full set of apparmor profiles
|
||||||
# Copyright (C) 2020-2021 Mikhail Morfikov
|
# Copyright (C) 2020-2021 Mikhail Morfikov
|
||||||
|
# 2021 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
abi <abi/3.0>,
|
||||||
|
|
@ -14,18 +15,19 @@ profile mandb @{exec_path} flags=(complain) {
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
/etc/man_db.conf r,
|
||||||
/etc/manpath.config r,
|
/etc/manpath.config r,
|
||||||
|
|
||||||
/var/cache/man/ r,
|
/var/cache/man/ r,
|
||||||
/var/cache/man/** rwk,
|
/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/share/*/man/man[0-9]*/*.[0-9]*.gz r,
|
||||||
|
|
||||||
/usr/local/share/man/ r,
|
|
||||||
/usr/local/share/man/** r,
|
|
||||||
|
|
||||||
include if exists <local/mandb>
|
include if exists <local/mandb>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue